mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
default most toolbar buttons to being disabled
This commit is contained in:
parent
345b28935f
commit
18f7736a22
1 changed files with 10 additions and 3 deletions
|
@ -3,46 +3,53 @@ Deluge.ToolBar = new Ext.Toolbar({
|
||||||
{
|
{
|
||||||
id: 'create',
|
id: 'create',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
|
disabled: true,
|
||||||
text: _('Create'),
|
text: _('Create'),
|
||||||
icon: '/icons/16/create.png',
|
icon: '/icons/16/create.png',
|
||||||
handler: torrentAction
|
handler: torrentAction
|
||||||
},{
|
},{
|
||||||
id: 'add',
|
id: 'add',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
|
disabled: true,
|
||||||
text: _('Add'),
|
text: _('Add'),
|
||||||
icon: '/icons/16/add.png',
|
icon: '/icons/16/add.png',
|
||||||
handler: torrentAction
|
handler: torrentAction
|
||||||
},{
|
},{
|
||||||
id: 'remove',
|
id: 'remove',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
|
disabled: true,
|
||||||
text: _('Remove'),
|
text: _('Remove'),
|
||||||
icon: '/icons/16/remove.png',
|
icon: '/icons/16/remove.png',
|
||||||
handler: torrentAction
|
handler: torrentAction
|
||||||
},{
|
},'|',{
|
||||||
id: 'pause',
|
id: 'pause',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
|
disabled: true,
|
||||||
text: _('Pause'),
|
text: _('Pause'),
|
||||||
icon: '/icons/16/pause.png',
|
icon: '/icons/16/pause.png',
|
||||||
handler: torrentAction
|
handler: torrentAction
|
||||||
},{
|
},{
|
||||||
id: 'resume',
|
id: 'resume',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
|
disabled: true,
|
||||||
text: _('Resume'),
|
text: _('Resume'),
|
||||||
icon: '/icons/16/start.png',
|
icon: '/icons/16/start.png',
|
||||||
handler: torrentAction
|
handler: torrentAction
|
||||||
},{
|
},'|',{
|
||||||
id: 'up',
|
id: 'up',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
|
disabled: true,
|
||||||
text: _('Up'),
|
text: _('Up'),
|
||||||
icon: '/icons/16/up.png',
|
icon: '/icons/16/up.png',
|
||||||
handler: torrentAction
|
handler: torrentAction
|
||||||
},{
|
},{
|
||||||
id: 'down',
|
id: 'down',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
|
disabled: true,
|
||||||
text: _('Down'),
|
text: _('Down'),
|
||||||
icon: '/icons/16/down.png',
|
icon: '/icons/16/down.png',
|
||||||
handler: torrentAction
|
handler: torrentAction
|
||||||
},{
|
},'|',{
|
||||||
id: 'preferences',
|
id: 'preferences',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
text: _('Preferences'),
|
text: _('Preferences'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue