[kupfer: 12/18] gui/preferences: update plugin info on activate/deactivate plugin by keyb.



commit 2744487f55f2ac8a86eeec49f826d6dd948f275c
Author: Karol BÄdkowski <karol bedkowski gmail com>
Date:   Tue Oct 16 20:33:30 2012 +0200

    gui/preferences: update plugin info on activate/deactivate plugin by keyb.
    
    Author: Joseph Lansdowne
    Closes: lp#785963

 kupfer/ui/preferences.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/ui/preferences.py b/kupfer/ui/preferences.py
index d5ce897..f6f82e5 100644
--- a/kupfer/ui/preferences.py
+++ b/kupfer/ui/preferences.py
@@ -367,6 +367,7 @@ class PreferencesWindowController (pretty.OutputMixin):
 		self.store.set_value(it, checkcol, plugin_is_enabled)
 		setctl = settings.GetSettingsController()
 		setctl.set_plugin_enabled(plugin_id, plugin_is_enabled)
+		self.plugin_sidebar_update(plugin_id)
 
 	def _id_for_table_path(self, path):
 		it = self.store.get_iter(path)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]