add a toolbar to the file browser

This commit is contained in:
Damien Churchill 2010-03-09 22:14:33 +00:00
parent ae5071d6cb
commit a961947720
1 changed files with 10 additions and 0 deletions

View File

@ -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);