mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
have the help button open the user guide on the wiki
This commit is contained in:
parent
dd519f936c
commit
cd0f4f69fb
1 changed files with 4 additions and 1 deletions
|
@ -103,7 +103,6 @@ Copyright:
|
||||||
},'->',{
|
},'->',{
|
||||||
id: 'help',
|
id: 'help',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
disabled: true,
|
|
||||||
icon: '/icons/help.png',
|
icon: '/icons/help.png',
|
||||||
text: _('Help'),
|
text: _('Help'),
|
||||||
handler: this.onHelpClick,
|
handler: this.onHelpClick,
|
||||||
|
@ -157,6 +156,10 @@ Copyright:
|
||||||
Deluge.ConnectionManager.show();
|
Deluge.ConnectionManager.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onHelpClick: function() {
|
||||||
|
window.open('http://dev.deluge-torrent.org/wiki/UserGuide');
|
||||||
|
},
|
||||||
|
|
||||||
onPreferencesClick: function() {
|
onPreferencesClick: function() {
|
||||||
Deluge.Preferences.show();
|
Deluge.Preferences.show();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue