mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
add a toolbar to the bottom of the connections grid
This commit is contained in:
parent
604ddc092e
commit
0e47cfd49e
1 changed files with 21 additions and 1 deletions
|
@ -106,7 +106,27 @@ Deluge.Connections.Grid = new Ext.grid.GridPanel({
|
||||||
autoExpandColumn: 'host',
|
autoExpandColumn: 'host',
|
||||||
deferredRender:false,
|
deferredRender:false,
|
||||||
autoScroll:true,
|
autoScroll:true,
|
||||||
margins: '0 0 0 0'
|
margins: '0 0 0 0',
|
||||||
|
bbar: new Ext.Toolbar({
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
id: 'add',
|
||||||
|
cls: 'x-btn-text-icon',
|
||||||
|
text: _('Add'),
|
||||||
|
icon: '/icons/16/add.png'
|
||||||
|
}, {
|
||||||
|
id: 'remove',
|
||||||
|
cls: 'x-btn-text-icon',
|
||||||
|
text: _('Remove'),
|
||||||
|
icon: '/icons/16/remove.png'
|
||||||
|
}, '->', {
|
||||||
|
id: 'stop',
|
||||||
|
cls: 'x-btn-text-icon',
|
||||||
|
text: _('Stop Daemon'),
|
||||||
|
icon: '/icons/16/error.png'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
Deluge.Connections.Window = new Ext.Window({
|
Deluge.Connections.Window = new Ext.Window({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue