Author: damoxc
Revision: 5032
Log:
fix the sidebars margins whilst collapsed
Diff:
Modified: trunk/deluge/ui/web/js/deluge-bars.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-bars.js 2009-04-07 17:54:57 UTC (rev
5031)
+++ trunk/deluge/ui/web/js/deluge-bars.js 2009-04-07 19:54:06 UTC (rev
5032)
@@ -57,6 +57,10 @@
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 @@
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 @@
minSize: 175,
collapsible: true,
margins: '5 0 0 5',
+ cmargins: '5 5 0 5',
listeners: {'render': {scope: Deluge.SideBar, fn:
Deluge.SideBar.onRender}}
}
\ No newline at end of file
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---