update the paths in the css/cod...
Content-type: text/plain

Author: damoxc

Revision: 4950

Log:
        move all the icons
update the paths in the css/code
begin to use more iconCls rather than icon

Diff:
Modified: trunk/deluge/ui/web/css/deluge.css
===================================================================
--- trunk/deluge/ui/web/css/deluge.css  2009-03-30 23:35:11 UTC (rev 4949)
+++ trunk/deluge/ui/web/css/deluge.css  2009-03-31 00:04:38 UTC (rev 4950)
@@ -12,7 +12,7 @@
 }
 
 .x-deluge-main-panel {
-       background-image: url('/icons/16/deluge.png');
+       background-image: url('/icons/deluge.png');
 }
 
 .deluge-torrents td, .x-deluge-peers td {
@@ -29,18 +29,22 @@
        text-align: center;
 }
 
-.x-deluge-downloading, .x-deluge-seeding {
+/*.x-deluge-downloading, .x-deluge-seeding {
        background-repeat: no-repeat;
-}
+}*/
 
-.x-deluge-all { background-image: url('/icons/16/all.png'); }
-.x-deluge-active { background-image: url('/icons/16/active.png'); }
-.x-deluge-downloading, .x-deluge-peer { background-image: 
url('/icons/16/downloading.png'); }
-.x-deluge-seeding, .deluge-torrents .seeding, .x-deluge-seed { 
background-image: url('/icons/16/seeding.png'); }
-.x-deluge-queued, .deluge-torrents .queued { background-image: 
url('/icons/16/queued.png'); }
-.x-deluge-paused, .deluge-torrents .paused { background-image: 
url('/icons/16/inactive.png'); }
-.x-deluge-error, .deluge-torrents .error { background-image: 
url('/icons/16/alert.png'); }
-.x-deluge-checking, .deluge-torrents .checking { background-image: 
url('/icons/16/checking.png'); }
+/* Icon classes */
+.x-deluge-all { background-image: url('/icons/all.png'); }
+.x-deluge-active { background-image: url('/icons/active.png'); }
+.x-deluge-downloading, .x-btn .x-deluge-downloading, .x-deluge-peer { 
background-image: url('/icons/downloading.png'); }
+.x-deluge-seeding, .x-btn .x-deluge-seeding, .deluge-torrents .seeding, 
.x-deluge-seed { background-image: url('/icons/seeding.png'); }
+.x-deluge-queued, .x-btn .x-deluge-queued, .deluge-torrents .queued { 
background-image: url('/icons/queued.png'); }
+.x-deluge-paused, .x-btn .x-deluge-paused, .deluge-torrents .paused { 
background-image: url('/icons/inactive.png'); }
+.x-deluge-error, .deluge-torrents .error { background-image: 
url('/icons/alert.png'); }
+.x-deluge-checking, .deluge-torrents .checking { background-image: 
url('/icons/checking.png'); }
+.x-deluge-dht, .x-btn .x-deluge-dht { background-image: url('/icons/dht.png'); 
}
+.x-deluge-connections, .x-btn .x-deluge-connections { background-image: 
url('/icons/connections.png') }
+.x-deluge-traffic, .x-btn .x-deluge-traffic { background-image: 
url('/icons/traffic.png') }
 
 
 /* Torrent Details */
@@ -96,27 +100,27 @@
 
 /* Login Window */
 .x-deluge-login-window-icon {
-       background: url('/icons/16/login.png') no-repeat 2px;
+       background: url('/icons/login.png') no-repeat 2px;
 }
 
 /* Add Window */
 .x-deluge-add-window-icon {
-       background: url('/icons/16/add.png') no-repeat 2px;
+       background: url('/icons/add.png') no-repeat 2px;
 }
 
 /* Add Url Window */
 .x-deluge-add-url-window-icon {
-       background: url('/icons/16/add_url.png') no-repeat 2px;
+       background: url('/icons/add_url.png') no-repeat 2px;
 }
 
 /* Connect Window */
 .x-deluge-connect-window-icon {
-       background: url('/icons/16/connection_manager.png') no-repeat 2px;
+       background: url('/icons/connection_manager.png') no-repeat 2px;
 }
 
 /* Statusbar */
 #deluge-statusbar .x-not-connected {
-       background: url('/icons/16/error.png') no-repeat 2px;
+       background: url('/icons/error.png') no-repeat 2px;
        padding-left: 20px;
 }
 
@@ -168,15 +172,15 @@
 
 /* MessageBox icon styles */
 .x-deluge-icon-warning {
-       background: url('/icons/16/warning.png') no-repeat 2px;
+       background: url('/icons/warning.png') no-repeat 2px;
 }
 
 .x-deluge-icon-error {
-       background: url('/icons/16/error.png') no-repeat 2px;
+       background: url('/icons/error.png') no-repeat 2px;
 }
 
 .x-tree-node-leaf .x-deluge-file {
-       background-image: url('/icons/16/document.png');
+       background-image: url('/icons/document.png');
 }
 
 .x-deluge-add-file-checkbox {

Deleted: trunk/deluge/ui/web/icons/16/LICENSE
===================================================================
--- trunk/deluge/ui/web/icons/16/LICENSE        2009-03-30 23:35:11 UTC (rev 
4949)
+++ trunk/deluge/ui/web/icons/16/LICENSE        2009-03-31 00:04:38 UTC (rev 
4950)
@@ -1,3 +0,0 @@
-Icons in this folder are copied from the fruge icon set, taken from
-http://www.pinvoke.com, licensed under the Creative Common
-Attribution-ShareAlike 3.0 License.

Deleted: trunk/deluge/ui/web/icons/16/active.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/add.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/add_file.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/add_magnet.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/add_url.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/alert.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/all.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/bottom.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/checking.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/connection_manager.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/connections.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/create.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/deluge.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/dht.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/document.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/down.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/downloading.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/edit-redo.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/edit_trackers.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/error.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/help.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/inactive.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/login.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/logout.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/move.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/pause.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/preferences.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/queue.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/queued.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/readme.txt
===================================================================
--- trunk/deluge/ui/web/icons/16/readme.txt     2009-03-30 23:35:11 UTC (rev 
4949)
+++ trunk/deluge/ui/web/icons/16/readme.txt     2009-03-31 00:04:38 UTC (rev 
4950)
@@ -1,2 +0,0 @@
-images from the fruge icon set.
-See LICENSE for a list of icons not taken from fruge.

Deleted: trunk/deluge/ui/web/icons/16/recheck.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/remove.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/seeding.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/start.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/top.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/traffic.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/up.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/update.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/upload_slots.png
===================================================================
(Binary files differ)

Deleted: trunk/deluge/ui/web/icons/16/warning.png
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/LICENSE (from rev 4933, 
trunk/deluge/ui/web/icons/16/LICENSE)
===================================================================
--- trunk/deluge/ui/web/icons/LICENSE                           (rev 0)
+++ trunk/deluge/ui/web/icons/LICENSE   2009-03-31 00:04:38 UTC (rev 4950)
@@ -0,0 +1,3 @@
+Icons in this folder are copied from the fruge icon set, taken from
+http://www.pinvoke.com, licensed under the Creative Common
+Attribution-ShareAlike 3.0 License.

Copied: trunk/deluge/ui/web/icons/active.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/active.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/add.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/add.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/add_file.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/add_file.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/add_magnet.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/add_magnet.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/add_url.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/add_url.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/alert.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/alert.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/all.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/all.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/bottom.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/bottom.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/checking.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/checking.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/connection_manager.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/connection_manager.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/connections.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/connections.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/create.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/create.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/deluge.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/deluge.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/dht.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/dht.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/document.png (from rev 4936, 
trunk/deluge/ui/web/icons/16/document.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/down.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/down.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/downloading.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/downloading.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/edit-redo.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/edit-redo.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/edit_trackers.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/edit_trackers.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/error.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/error.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/help.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/help.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/inactive.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/inactive.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/login.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/login.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/logout.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/logout.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/move.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/move.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/pause.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/pause.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/preferences.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/preferences.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/queue.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/queue.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/queued.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/queued.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/readme.txt (from rev 4933, 
trunk/deluge/ui/web/icons/16/readme.txt)
===================================================================
--- trunk/deluge/ui/web/icons/readme.txt                                (rev 0)
+++ trunk/deluge/ui/web/icons/readme.txt        2009-03-31 00:04:38 UTC (rev 
4950)
@@ -0,0 +1,2 @@
+images from the fruge icon set.
+See LICENSE for a list of icons not taken from fruge.

Copied: trunk/deluge/ui/web/icons/recheck.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/recheck.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/remove.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/remove.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/seeding.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/seeding.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/start.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/start.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/top.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/top.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/traffic.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/traffic.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/up.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/up.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/update.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/update.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/upload_slots.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/upload_slots.png)
===================================================================
(Binary files differ)

Copied: trunk/deluge/ui/web/icons/warning.png (from rev 4933, 
trunk/deluge/ui/web/icons/16/warning.png)
===================================================================
(Binary files differ)

Modified: trunk/deluge/ui/web/js/deluge-add.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-add.js        2009-03-30 23:35:11 UTC (rev 
4949)
+++ trunk/deluge/ui/web/js/deluge-add.js        2009-03-31 00:04:38 UTC (rev 
4950)
@@ -138,24 +138,24 @@
                                id: 'file',
                                cls: 'x-btn-text-icon',
                                text: _('File'),
-                               icon: '/icons/16/add_file.png'
+                               icon: '/icons/add_file.png'
                        }, {
                                id: 'url',
                                cls: 'x-btn-text-icon',
                                text: _('Url'),
-                               icon: '/icons/16/add_url.png',
+                               icon: '/icons/add_url.png',
                                handler: Deluge.Add.onUrl,
                                scope: Deluge.Add
                        }, {
                                id: 'infohash',
                                cls: 'x-btn-text-icon',
                                text: _('Infohash'),
-                               icon: '/icons/16/add_magnet.png'
+                               icon: '/icons/add_magnet.png'
                        }, '->', {
                                id: 'remove',
                                cls: 'x-btn-text-icon',
                                text: _('Remove'),
-                               icon: '/icons/16/remove.png'
+                               icon: '/icons/remove.png'
                        }
                ]
        })

Modified: trunk/deluge/ui/web/js/deluge-bars.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-bars.js       2009-03-30 23:35:11 UTC (rev 
4949)
+++ trunk/deluge/ui/web/js/deluge-bars.js       2009-03-31 00:04:38 UTC (rev 
4950)
@@ -104,75 +104,75 @@
                        cls: 'x-btn-text-icon',
                        disabled: true,
                        text: _('Create'),
-                       icon: '/icons/16/create.png',
+                       icon: '/icons/create.png',
                        handler: Deluge.ToolBar.onTorrentAction
                },{
                        id: 'add',
                        cls: 'x-btn-text-icon',
                        disabled: true,
                        text: _('Add'),
-                       icon: '/icons/16/add.png',
+                       icon: '/icons/add.png',
                        handler: Deluge.ToolBar.onTorrentAdd
                },{
                        id: 'remove',
                        cls: 'x-btn-text-icon',
                        disabled: true,
                        text: _('Remove'),
-                       icon: '/icons/16/remove.png',
+                       icon: '/icons/remove.png',
                        handler: Deluge.ToolBar.onTorrentAction
                },'|',{
                        id: 'pause',
                        cls: 'x-btn-text-icon',
                        disabled: true,
                        text: _('Pause'),
-                       icon: '/icons/16/pause.png',
+                       icon: '/icons/pause.png',
                        handler: Deluge.ToolBar.onTorrentAction
                },{
                        id: 'resume',
                        cls: 'x-btn-text-icon',
                        disabled: true,
                        text: _('Resume'),
-                       icon: '/icons/16/start.png',
+                       icon: '/icons/start.png',
                        handler: Deluge.ToolBar.onTorrentAction
                },'|',{
                        id: 'up',
                        cls: 'x-btn-text-icon',
                        disabled: true,
                        text: _('Up'),
-                       icon: '/icons/16/up.png',
+                       icon: '/icons/up.png',
                        handler: Deluge.ToolBar.onTorrentAction
                },{
                        id: 'down',
                        cls: 'x-btn-text-icon',
                        disabled: true,
                        text: _('Down'),
-                       icon: '/icons/16/down.png',
+                       icon: '/icons/down.png',
                        handler: Deluge.ToolBar.onTorrentAction
                },'|',{
                        id: 'preferences',
                        cls: 'x-btn-text-icon',
                        text: _('Preferences'),
-                       icon: '/icons/16/preferences.png',
+                       icon: '/icons/preferences.png',
                        handler: Deluge.ToolBar.onTorrentAction
                },{
                        id: 'connectionman',
                        cls: 'x-btn-text-icon',
                        text: _('Connection Manager'),
-                       icon: '/icons/16/connection_manager.png',
+                       iconCls: 'x-deluge-connections',
                        handler: Deluge.ToolBar.onConnectionManagerClick,
                        scope: Deluge.ToolBar
                },'->',{
                        id: 'help',
                        cls: 'x-btn-text-icon',
                        disabled: true,
-                       icon: '/icons/16/help.png',
+                       icon: '/icons/help.png',
                        text: _('Help'),
                        handler: Deluge.ToolBar.onHelpClick,
                        scope: Deluge.ToolBar
                },{
                        id: 'logout',
                        cls: 'x-btn-text-icon',
-                       icon: '/icons/16/logout.png',
+                       icon: '/icons/logout.png',
                        disabled: true,
                        text: _('Logout'),
                        handler: Deluge.ToolBar.onLogout,
@@ -198,30 +198,30 @@
                        id: 'statusbar-connections',
                        text: '200 (200)',
                        cls: 'x-btn-text-icon',
-                       icon: '/icons/16/connection_manager.png',
+                       iconCls: 'x-deluge-connections',
                        menu: Deluge.Menus.Connections
                }, '-', {
                        id: 'statusbar-downspeed',
                        text: '9.8KiB/s (30 KiB/s)',
                        cls: 'x-btn-text-icon',
-                       icon: '/icons/16/downloading.png',
+                       iconCls: 'x-deluge-downloading',
                        menu: Deluge.Menus.Download
                }, '-', {
                        id: 'statusbar-upspeed',
                        text: '9.8KiB/s (30 KiB/s)',
                        cls: 'x-btn-text-icon',
-                       icon: '/icons/16/seeding.png',
+                       iconCls: 'x-deluge-seeding',
                        menu: Deluge.Menus.Upload
                }, '-', {
                        id: 'statusbar-traffic',
                        text: '1.53/2,65 KiB/s',
                        cls: 'x-btn-text-icon',
-                       icon: '/icons/16/traffic.png'
+                       iconCls: 'x-deluge-traffic'
                }, '-', {
                        id: 'statusbar-dht',
                        text: '161',
                        cls: 'x-btn-text-icon',
-                       icon: '/icons/16/dht.png'
+                       iconCls: 'x-deluge-dht'
                });
                this.created = true;
        },

Modified: trunk/deluge/ui/web/js/deluge-connections.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-connections.js        2009-03-30 23:35:11 UTC 
(rev 4949)
+++ trunk/deluge/ui/web/js/deluge-connections.js        2009-03-31 00:04:38 UTC 
(rev 4950)
@@ -217,19 +217,19 @@
                                id: 'add',
                                cls: 'x-btn-text-icon',
                                text: _('Add'),
-                               icon: '/icons/16/add.png',
+                               icon: '/icons/add.png',
                                handler: Deluge.Connections.onAdd
                        }, {
                                id: 'remove',
                                cls: 'x-btn-text-icon',
                                text: _('Remove'),
-                               icon: '/icons/16/remove.png',
+                               icon: '/icons/remove.png',
                                handler: Deluge.Connections.onRemove
                        }, '->', {
                                id: 'stop',
                                cls: 'x-btn-text-icon',
                                text: _('Stop Daemon'),
-                               icon: '/icons/16/error.png',
+                               icon: '/icons/error.png',
                                handler: Deluge.Connections.onStop
                        }
                ]

Modified: trunk/deluge/ui/web/js/deluge-menus.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-menus.js      2009-03-30 23:35:11 UTC (rev 
4949)
+++ trunk/deluge/ui/web/js/deluge-menus.js      2009-03-31 00:04:38 UTC (rev 
4950)
@@ -78,19 +78,19 @@
        items: [{
                id: 'pause',
                text: _('Pause'),
-               icon: '/icons/16/pause.png',
+               icon: '/icons/pause.png',
                handler: Deluge.Menus.onTorrentAction,
                scope: Deluge.Menus
        }, {
                id: 'resume',
                text: _('Resume'),
-               icon: '/icons/16/start.png',
+               icon: '/icons/start.png',
                handler: Deluge.Menus.onTorrentAction,
                scope: Deluge.Menus
        }, '-', {
                id: 'options',
                text: _('Options'),
-               icon: '/icons/16/preferences.png',
+               icon: '/icons/preferences.png',
                menu: new Ext.menu.Menu({
                        items: [{
                                text: _('D/L Speed Limit'),
@@ -130,7 +130,7 @@
                                })
                        }, {
                                text: _('Connection Limit'),
-                               icon: '/icons/16/connections.png',
+                               iconCls: 'x-deluge-connections',
                                menu: new Ext.menu.Menu({
                                        items: [{
                                                text: _('50'),
@@ -148,7 +148,7 @@
                                })
                        }, {
                                text: _('Upload Slot Limit'),
-                               icon: '/icons/16/upload_slots.png',
+                               icon: '/icons/upload_slots.png',
                                menu: new Ext.menu.Menu({
                                        items: [{
                                                text: _('0'),
@@ -172,30 +172,30 @@
                })
        }, '-', {
                text: _('Queue'),
-               icon: '/icons/16/queue.png',
+               icon: '/icons/queue.png',
                menu: new Ext.menu.Menu({
                        items: [{
                                id: 'top',
                                text: _('Top'),
-                               icon: '/icons/16/top.png',
+                               icon: '/icons/top.png',
                                handler: Deluge.Menus.onTorrentAction,
                                scope: Deluge.Menus
                        },{
                                id: 'up',
                                text: _('Up'),
-                               icon: '/icons/16/up.png',
+                               icon: '/icons/up.png',
                                handler: Deluge.Menus.onTorrentAction,
                                scope: Deluge.Menus
                        },{
                                id: 'down',
                                text: _('Down'),
-                               icon: '/icons/16/down.png',
+                               icon: '/icons/down.png',
                                handler: Deluge.Menus.onTorrentAction,
                                scope: Deluge.Menus
                        },{
                                id: 'bottom',
                                text: _('Bottom'),
-                               icon: '/icons/16/bottom.png',
+                               icon: '/icons/bottom.png',
                                handler: Deluge.Menus.onTorrentAction,
                                scope: Deluge.Menus
                        }]
@@ -203,31 +203,31 @@
        }, '-', {
                id: 'update',
                text: _('Update Tracker'),
-               icon: '/icons/16/update.png',
+               icon: '/icons/update.png',
                handler: Deluge.Menus.onTorrentAction,
                scope: Deluge.Menus
        }, {
                edit: 'edit_trackers',
                text: _('Edit Trackers'),
-               icon: '/icons/16/edit_trackers.png',
+               icon: '/icons/edit_trackers.png',
                handler: Deluge.Menus.onTorrentAction,
                scope: Deluge.Menus
        }, '-', {
                id: 'remove',
                text: _('Remove Torrent'),
-               icon: '/icons/16/remove.png',
+               icon: '/icons/remove.png',
                handler: Deluge.Menus.onTorrentAction,
                scope: Deluge.Menus
        }, '-', {
                id: 'recheck',
                text: _('Force Recheck'),
-               icon: '/icons/16/recheck.png',
+               icon: '/icons/recheck.png',
                handler: Deluge.Menus.onTorrentAction,
                scope: Deluge.Menus
        }, {
                id: 'move',
                text: _('Move Storage'),
-               icon: '/icons/16/move.png',
+               icon: '/icons/move.png',
                handler: Deluge.Menus.onTorrentAction,
                scope: Deluge.Menus
        }]



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