mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
fix the sidebars margins whilst collapsed
This commit is contained in:
parent
b71c31cc46
commit
2631f09315
1 changed files with 7 additions and 1 deletions
|
@ -57,6 +57,10 @@ Deluge.ToolBar = {
|
|||
Deluge.Connections.Window.show();
|
||||
},
|
||||
|
||||
onPreferencesClick: function() {
|
||||
Deluge.Preferences.show();
|
||||
},
|
||||
|
||||
onTorrentAction: function(item) {
|
||||
var selection = Deluge.Torrents.getSelections();
|
||||
var ids = new Array();
|
||||
|
@ -154,7 +158,8 @@ Deluge.ToolBar.Bar = new Ext.Toolbar({
|
|||
cls: 'x-btn-text-icon',
|
||||
text: _('Preferences'),
|
||||
icon: '/icons/preferences.png',
|
||||
handler: Deluge.ToolBar.onTorrentAction
|
||||
handler: Deluge.ToolBar.onPreferencesClick,
|
||||
scope: Deluge.ToolBar
|
||||
},{
|
||||
id: 'connectionman',
|
||||
cls: 'x-btn-text-icon',
|
||||
|
@ -488,5 +493,6 @@ Deluge.SideBar.Config = {
|
|||
minSize: 175,
|
||||
collapsible: true,
|
||||
margins: '5 0 0 5',
|
||||
cmargins: '5 5 0 5',
|
||||
listeners: {'render': {scope: Deluge.SideBar, fn: Deluge.SideBar.onRender}}
|
||||
}
|
Loading…
Add table
Reference in a new issue