Author: damoxc

Revision: 5997

Log:
        fix enabling plugins on the fly

Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog   2009-12-10 01:26:26 UTC (rev 5996)
+++ branches/1.2_RC/ChangeLog   2009-12-10 14:32:55 UTC (rev 5997)
@@ -8,6 +8,7 @@
        * Add disk usage to the statusbar
        * Add a ToggleField widget and use this on the Downloads preferences
          page allowing the movecom/copytorrent/autoadd boxes to be enabled.
+       * Fix enabling plugins.
 
 ==== GtkUI ====
        * Attempt to register as the default magnet uri handler in GNOME on 
startup

Modified: branches/1.2_RC/deluge/ui/web/js/Deluge.Preferences.Plugins.js
===================================================================
--- branches/1.2_RC/deluge/ui/web/js/Deluge.Preferences.Plugins.js      
2009-12-10 01:26:26 UTC (rev 5996)
+++ branches/1.2_RC/deluge/ui/web/js/Deluge.Preferences.Plugins.js      
2009-12-10 14:32:55 UTC (rev 5997)
@@ -142,7 +142,7 @@
                this.grid.on('cellclick', this.onCellClick, this);
                Deluge.Preferences.on('show', this.onPreferencesShow, this);
                Deluge.Events.on('PluginDisabledEvent', this.onPluginDisabled, 
this);
-               Deluge.Events.on('PluginEnabledEvent', this.onPluginsEnabled, 
this);
+               Deluge.Events.on('PluginEnabledEvent', this.onPluginEnabled, 
this);
        },
 
        disablePlugin: function(plugin) {
@@ -242,4 +242,4 @@
                this.setInfo();
        }
 });
-Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());
\ No newline at end of file
+Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());

Modified: trunk/deluge/ui/web/js/Deluge.Preferences.Plugins.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.Preferences.Plugins.js        2009-12-10 
01:26:26 UTC (rev 5996)
+++ trunk/deluge/ui/web/js/Deluge.Preferences.Plugins.js        2009-12-10 
14:32:55 UTC (rev 5997)
@@ -142,7 +142,7 @@
                this.grid.on('cellclick', this.onCellClick, this);
                Deluge.Preferences.on('show', this.onPreferencesShow, this);
                Deluge.Events.on('PluginDisabledEvent', this.onPluginDisabled, 
this);
-               Deluge.Events.on('PluginEnabledEvent', this.onPluginsEnabled, 
this);
+               Deluge.Events.on('PluginEnabledEvent', this.onPluginEnabled, 
this);
        },
 
        disablePlugin: function(plugin) {
@@ -242,4 +242,4 @@
                this.setInfo();
        }
 });
-Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());
\ No newline at end of file
+Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());


--

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.


Reply via email to