fixed plugins preferences

This commit is contained in:
Zach Tibbitts 2007-03-26 02:11:19 +00:00
parent 811a4872f4
commit 1f352559ad
1 changed files with 2 additions and 0 deletions

View File

@ -99,9 +99,11 @@ class PluginDlg:
name_col = dgtk.add_text_column(self.view, _("Plugin"), 0) name_col = dgtk.add_text_column(self.view, _("Plugin"), 0)
name_col.set_expand(True) name_col.set_expand(True)
dgtk.add_toggle_column(self.view, _("Enabled"), 1, toggled_signal=self.plugin_toggled) dgtk.add_toggle_column(self.view, _("Enabled"), 1, toggled_signal=self.plugin_toggled)
self.glade.signal_autoconnect({'plugin_pref': self.plugin_pref})
self.parent = parent self.parent = parent
self.plugins = plugins self.plugins = plugins
def show(self): def show(self):
self.store.clear() self.store.clear()
for plugin in self.plugins.get_available_plugins(): for plugin in self.plugins.get_available_plugins():