diff --git a/deluge/ui/web/css/deluge.css b/deluge/ui/web/css/deluge.css index d44c7cac4..a1d5d360d 100644 --- a/deluge/ui/web/css/deluge.css +++ b/deluge/ui/web/css/deluge.css @@ -12,9 +12,19 @@ input { } .x-deluge-main-panel { - background-image: url('../icons/deluge.png'); + background-image: url('../icons/deluge.png') !important; } +#tbar-deluge-text.x-item-disabled * { + color:black !important; + font-weight: bold; +} + +#tbar-deluge-text.x-item-disabled { + opacity: 1 !important; +} + + .deluge-torrents td, .x-deluge-peers td { height: 16px; line-height: 16px; diff --git a/deluge/ui/web/js/deluge-all/Toolbar.js b/deluge/ui/web/js/deluge-all/Toolbar.js index 5df00021f..935d823dc 100644 --- a/deluge/ui/web/js/deluge-all/Toolbar.js +++ b/deluge/ui/web/js/deluge-all/Toolbar.js @@ -39,6 +39,12 @@ Deluge.Toolbar = Ext.extend(Ext.Toolbar, { constructor: function(config) { config = Ext.apply({ items: [ + { + id: 'tbar-deluge-text', + disabled: true, + text: _('Deluge'), + iconCls: 'x-deluge-main-panel', + }, new Ext.Toolbar.Separator(), { id: 'create', disabled: true, @@ -58,7 +64,7 @@ Deluge.Toolbar = Ext.extend(Ext.Toolbar, { text: _('Remove'), iconCls: 'icon-remove', handler: this.onTorrentAction - },'|',{ + }, new Ext.Toolbar.Separator(),{ id: 'pause', disabled: true, text: _('Pause'), @@ -70,7 +76,7 @@ Deluge.Toolbar = Ext.extend(Ext.Toolbar, { text: _('Resume'), iconCls: 'icon-resume', handler: this.onTorrentAction - },'|',{ + }, new Ext.Toolbar.Separator(),{ id: 'up', cls: 'x-btn-text-icon', disabled: true, @@ -83,7 +89,7 @@ Deluge.Toolbar = Ext.extend(Ext.Toolbar, { text: _('Down'), iconCls: 'icon-down', handler: this.onTorrentAction - },'|',{ + }, new Ext.Toolbar.Separator(),{ id: 'preferences', text: _('Preferences'), iconCls: 'x-deluge-preferences',