Author: andar
Revision: 5723
Log:
Run the plugin's show_prefs callbacks before the preferences dialog's
show()
Diff:
Modified: trunk/deluge/ui/gtkui/preferences.py
===================================================================
--- trunk/deluge/ui/gtkui/preferences.py 2009-09-09 17:08:00 UTC (rev
5722)
+++ trunk/deluge/ui/gtkui/preferences.py 2009-09-09 20:04:04 UTC (rev
5723)
@@ -174,6 +174,8 @@
self.treeview.get_selection().select_path(index)
break
+ component.get("PluginManager").run_on_show_prefs()
+
# Update the preferences dialog to reflect current config settings
self.core_config = {}
if client.connected():
@@ -510,7 +512,6 @@
self.plugin_liststore.set_value(row, 0, plugin)
self.plugin_liststore.set_value(row, 1, enabled)
- component.get("PluginManager").run_on_show_prefs()
# Now show the dialog
self.pref_dialog.show()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---