Agrego GPL notice.
This commit is contained in:
parent
726a7931ad
commit
14871846f5
@ -1,5 +1,20 @@
|
|||||||
#!/usr/bin/env python2.6
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2010 Mauro Torrez. All rights reserved.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
@ -253,8 +268,11 @@ class App:
|
|||||||
self.combo.append_text("wallpaper")
|
self.combo.append_text("wallpaper")
|
||||||
self.combo.connect( "changed", self.disp_changed)
|
self.combo.connect( "changed", self.disp_changed)
|
||||||
|
|
||||||
|
i=0
|
||||||
|
self.combo.set_active(i)
|
||||||
while self.combo.get_active_text() != self.disp:
|
while self.combo.get_active_text() != self.disp:
|
||||||
self.combo.set_active( self.combo.get_active() + 1 )
|
i+=1
|
||||||
|
self.combo.set_active( i )
|
||||||
|
|
||||||
self.filedialog.set_filename(self.path)
|
self.filedialog.set_filename(self.path)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user