have the help button open the user guide on the wiki

This commit is contained in:
Damien Churchill 2009-09-15 07:28:09 +00:00
commit cd0f4f69fb

View file

@ -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();
}, },