Bug fix, preferences

This commit is contained in:
Clement Lefebvre 2011-05-30 14:30:27 +01:00
parent 28ec4116a2
commit 0842274fbe
2 changed files with 10 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (5.2.1) katya; urgency=low
* Bug fix, preferences now work as expected again.
-- Clement Lefebvre <root@linuxmint.com> Mon, 30 May 2011 14:30:00 +0000
mintmenu (5.2.0) katya; urgency=low mintmenu (5.2.0) katya; urgency=low
* Banshee replaces Rhythmbox in default favorites * Banshee replaces Rhythmbox in default favorites

View File

@ -359,7 +359,10 @@ class mintMenuConfig( object ):
args[1]( gtk.gdk.color_parse( entry.get_value().get_string() ) ) args[1]( gtk.gdk.color_parse( entry.get_value().get_string() ) )
def callGetter( self, gconf, gconfType, gconfPath, getter ): def callGetter( self, gconf, gconfType, gconfPath, getter ):
gconf.set( gconfType, gconfPath, getter() ) if (gconfType == "int"):
gconf.set( gconfType, gconfPath, int(getter()))
else:
gconf.set( gconfType, gconfPath, getter())
def toggleUseCustomColors( self, widget ): def toggleUseCustomColors( self, widget ):
self.backgroundColor.set_sensitive( widget.get_active() ) self.backgroundColor.set_sensitive( widget.get_active() )