Couple more fixes

This commit is contained in:
Michael Webster 2013-03-08 21:38:30 -05:00
parent e9d11bccaf
commit c4698aab6f

View File

@ -293,6 +293,8 @@ class mintMenuConfig( object ):
selected_theme = iter selected_theme = iter
self.builder.get_object("themesCombo").set_active_iter(selected_theme) self.builder.get_object("themesCombo").set_active_iter(selected_theme)
self.builder.get_object("themesCombo").connect("changed", self.set_theme) self.builder.get_object("themesCombo").connect("changed", self.set_theme)
self.toggleUseCustomColors(self.useCustomColors)
self.mainWindow.present() self.mainWindow.present()
self.getBackgroundColor() self.getBackgroundColor()
@ -300,7 +302,7 @@ class mintMenuConfig( object ):
model = widget.get_model() model = widget.get_model()
iter = widget.get_active_iter() iter = widget.get_active_iter()
theme_name = model.get_value(iter, 1) theme_name = model.get_value(iter, 1)
self.settings.set_string("theme-name", theme_name) self.settings.set( "string", "theme-name", theme_name)
def getPluginsToggle(self): def getPluginsToggle(self):
array = self.settings.get ("list-string", "plugins-list") array = self.settings.get ("list-string", "plugins-list")