show the preferences window when the protocol traffic and freespace icons are clicked
This commit is contained in:
parent
7fe5d37094
commit
b1cf238489
|
@ -75,7 +75,11 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
|
||||||
text: ' ',
|
text: ' ',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
iconCls: 'x-deluge-traffic',
|
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',
|
id: 'statusbar-dht',
|
||||||
text: ' ',
|
text: ' ',
|
||||||
|
@ -87,7 +91,11 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
|
||||||
text: ' ',
|
text: ' ',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
iconCls: 'x-deluge-freespace',
|
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;
|
this.created = true;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue