Fixed Plugins dialog to properly set_sensitive() for Preferences button.

This commit is contained in:
Alex Dedul 2007-07-14 08:58:30 +00:00
parent 14b0ec2e96
commit 01edae6a7b
1 changed files with 1 additions and 1 deletions

View File

@ -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)