Module: deluge Branch: master Commit: 24ce77cdf0535961ad43d84fca18a05ec97e808c
Author: Damien Churchill <[email protected]> Date: Tue Mar 9 23:48:56 2010 +0000 add a home icon and corresponding icon class adjust the file browser window title and add the remaining toolbar items --- deluge/ui/web/css/deluge.css | 4 ++++ deluge/ui/web/icons/home.png | Bin 0 -> 752 bytes deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js | 12 +++++++++--- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/deluge/ui/web/css/deluge.css b/deluge/ui/web/css/deluge.css index f9017f7..256eb3d 100644 --- a/deluge/ui/web/css/deluge.css +++ b/deluge/ui/web/css/deluge.css @@ -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; +} diff --git a/deluge/ui/web/icons/home.png b/deluge/ui/web/icons/home.png new file mode 100644 index 0000000..622a2b7 Binary files /dev/null and b/deluge/ui/web/icons/home.png differ diff --git a/deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js b/deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js index acabf2c..d3c7268 100644 --- a/deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js +++ b/deluge/ui/web/js/deluge-all/Deluge.FileBrowser.js @@ -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' }] }); } -- 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.
