add a home icon and corresponding icon class
adjust the file browser window title and add the remaining toolbar items
This commit is contained in:
parent
3a56af99c0
commit
24ce77cdf0
|
@ -363,3 +363,7 @@ dl.singleline dd {
|
|||
.icon-forward {
|
||||
background-image: url('../icons/forward.png') !important;
|
||||
}
|
||||
|
||||
.icon-home {
|
||||
background-image: url('../icons/home.png') !important;
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 752 B |
|
@ -1,7 +1,7 @@
|
|||
Ext.namespace('Deluge');
|
||||
Deluge.FileBrowser = Ext.extend(Ext.Window, {
|
||||
|
||||
title: 'Filebrowser',
|
||||
title: _('File Browser'),
|
||||
|
||||
width: 500,
|
||||
height: 400,
|
||||
|
@ -12,11 +12,17 @@ Deluge.FileBrowser = Ext.extend(Ext.Window, {
|
|||
this.add({
|
||||
xtype: 'toolbar',
|
||||
items: [{
|
||||
cls: 'x-btn-icon',
|
||||
text: _('Back'),
|
||||
iconCls: 'icon-back'
|
||||
}, {
|
||||
cls: 'x-btn-icon',
|
||||
text: _('Forward'),
|
||||
iconCls: 'icon-forward'
|
||||
}, {
|
||||
text: _('Up'),
|
||||
iconCls: 'icon-up'
|
||||
}, {
|
||||
text: _('Home'),
|
||||
iconCls: 'icon-home'
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue