From 01edae6a7b44d5aef1b9a220654ad7efc9e8ea39 Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Sat, 14 Jul 2007 08:58:30 +0000 Subject: [PATCH] Fixed Plugins dialog to properly set_sensitive() for Preferences button. --- src/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index d41139e6c..13ba39be3 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -230,9 +230,9 @@ class PluginDlg: plugin_value = not self.store.get_value(plugin_iter, 1) self.store.set_value(plugin_iter, 1, plugin_value) if plugin_value: + self.plugins.enable_plugin(plugin_name) config = self.plugins.configurable_plugin(plugin_name) self.glade.get_widget("plugin_conf").set_sensitive(config) - self.plugins.enable_plugin(plugin_name) else: self.plugins.disable_plugin(plugin_name) self.glade.get_widget("plugin_conf").set_sensitive(False)