mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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 disk usage to the statusbar
|
||||||
* Add a ToggleField widget and use this on the Downloads preferences
|
* Add a ToggleField widget and use this on the Downloads preferences
|
||||||
page allowing the movecom/copytorrent/autoadd boxes to be enabled.
|
page allowing the movecom/copytorrent/autoadd boxes to be enabled.
|
||||||
|
* Fix enabling plugins.
|
||||||
|
|
||||||
==== GtkUI ====
|
==== GtkUI ====
|
||||||
* Attempt to register as the default magnet uri handler in GNOME on startup
|
* 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);
|
this.grid.on('cellclick', this.onCellClick, this);
|
||||||
Deluge.Preferences.on('show', this.onPreferencesShow, this);
|
Deluge.Preferences.on('show', this.onPreferencesShow, this);
|
||||||
Deluge.Events.on('PluginDisabledEvent', this.onPluginDisabled, 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) {
|
disablePlugin: function(plugin) {
|
||||||
|
@ -242,4 +242,4 @@ Ext.deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
|
||||||
this.setInfo();
|
this.setInfo();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());
|
Deluge.Preferences.addPage(new Ext.deluge.preferences.Plugins());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue