mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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',
|
||||
deferredRender:false,
|
||||
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({
|
||||
|
|
Loading…
Add table
Reference in a new issue