mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
show the preferences window when the protocol traffic and freespace icons are clicked
This commit is contained in:
parent
7fe5d37094
commit
b1cf238489
1 changed files with 10 additions and 2 deletions
|
@ -75,7 +75,11 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
|
|||
text: ' ',
|
||||
cls: 'x-btn-text-icon',
|
||||
iconCls: 'x-deluge-traffic',
|
||||
tooltip: _('Protocol Traffic Download/Upload')
|
||||
tooltip: _('Protocol Traffic Download/Upload'),
|
||||
handler: function() {
|
||||
deluge.preferences.show();
|
||||
deluge.preferences.selectPage('Network');
|
||||
}
|
||||
}, '-', {
|
||||
id: 'statusbar-dht',
|
||||
text: ' ',
|
||||
|
@ -87,7 +91,11 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
|
|||
text: ' ',
|
||||
cls: 'x-btn-text-icon',
|
||||
iconCls: 'x-deluge-freespace',
|
||||
tooltip: _('Freespace in download location')
|
||||
tooltip: _('Freespace in download location'),
|
||||
handler: function() {
|
||||
deluge.preferences.show();
|
||||
deluge.preferences.selectPage('Downloads');
|
||||
}
|
||||
});
|
||||
this.created = true;
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue