From e9745fd8eb8470a3bd1a224292f19dae63ba7b3c Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Wed, 13 Mar 2013 22:01:10 -0400 Subject: [PATCH] Fix mintMenuConfig --- usr/lib/linuxmint/mintMenu/mintMenuConfig.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py index 2e45079..c663ba3 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py +++ b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py @@ -350,13 +350,12 @@ class mintMenuConfig( object ): return not self.showButtonIcon.get_active() def bindGSettingsValueToWidget( self, settings, setting_type, key, widget, changeEvent, setter, getter ): - widget.connect( changeEvent, lambda *args: self.callGetter( settings, setting_type, key, getter ) ) - settings.notifyAdd( key, self.callSetter, args = [ setting_type, setter ] ) if setting_type == "color": setter( Gdk.color_parse( settings.get( setting_type, key ) ) ) else: setter( settings.get( setting_type, key ) ) + widget.connect( changeEvent, lambda *args: self.callGetter( settings, setting_type, key, getter ) ) def callSetter( self, settings, key, args ): if args[0] == "bool":