Module: deluge
Branch: master
Commit: a961947720ffc4a8324a53e374e412edf391ef3d

Author: Damien Churchill <[email protected]>
Date:   Tue Mar  9 22:14:33 2010 +0000

add a toolbar to the file browser

---

 deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js 
b/deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js
index 95f7c36..acebb51 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js
@@ -2,6 +2,16 @@ Ext.namespace('Deluge');
 Deluge.FileBrowser = Ext.extend(Ext.Window, {
 
        title: 'Filebrowser',
+
+       width:  500,
+       height: 400,
+
+       tbar: {
+               items: [{
+                       cls: 'x-btn-icon',
+                       iconCls: 'icon-back'
+               }]
+       },
        
        initComponent: function() {
                Deluge.FileBrowser.superclass.initComponent.call(this);

-- 
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.

Reply via email to