mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
fix enabling plugins on the fly
This commit is contained in:
parent
3c703d2ef7
commit
e646a5ef87
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -142,7 +142,7 @@ Ext.deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
|
|||
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 @@ Ext.deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
|
|||
this.setInfo();
|
||||
}
|
||||
});
|
||||
Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());
|
||||
Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());
|
||||
|
|
Loading…
Add table
Reference in a new issue