remove all remaining oxygen icons

add the additional required icons from fugue
add the torrents context menu
This commit is contained in:
Damien Churchill 2009-03-16 17:07:13 +00:00
parent 399f8b3f6f
commit d9d5d2b308
22 changed files with 140 additions and 38 deletions

View File

@ -1,32 +1,3 @@
icons in this folder are copied from the kde oxygen set Icons in this folder are copied from the fruge icon set, taken from
http://www.pinvoke.com, licensed under the Creative Common
http://www.oxygen-icons.org/?page_id=4 Attribution-ShareAlike 3.0 License.
LICENCE:
Oxygen icon theme is dual licensed.
You may copy it under the Creative Common Attribution-ShareAlike 3.0 License
or the GNU Library General Public License.
ICONS FROM FUGUE ICON SET:
http://www.pinvoke.com
Licensed under the Creative Common Attribution-ShareAlike 3.0 License.
- add.png
- add_file.png
- add_magnet.png
- add_url.png
- connection_manager.png
- create.png
- down.png
- error.png
- go-bottom.png
- go-top.png
- help.png
- login.png
- logout.png
- pause.png
- preferences.png
- remove.png
- start.png
- up.png
- warning.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 860 B

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 686 B

After

Width:  |  Height:  |  Size: 912 B

View File

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 611 B

View File

@ -1,5 +1,2 @@
images from the kde-oxygen set. images from the fruge icon set.
See webui/scripts/copy_icons.py for mapping. See LICENSE for a list of icons not taken from fruge.
See LICENSE for a list of icons not taken from oxygen.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

View File

Before

Width:  |  Height:  |  Size: 620 B

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 844 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 642 B

View File

@ -21,7 +21,141 @@ Copyright:
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
Deluge.Menus = {} Deluge.Menus = {
onTorrentAction: function(e) {
}
}
Deluge.Menus.Torrent = new Ext.menu.Menu({
id: 'torrentMenu',
items: [{
id: 'pause',
text: _('Pause'),
handler: Deluge.Menus.onTorrentAction,
scope: Deluge.Menus,
icon: '/icons/16/pause.png'
}, {
id: 'resume',
text: _('Resume'),
icon: '/icons/16/start.png'
}, '-', {
id: 'options',
text: _('Options'),
icon: '/icons/16/preferences.png',
menu: new Ext.menu.Menu({
items: [{
text: _('D/L Speed Limit'),
iconCls: 'x-deluge-downloading',
menu: new Ext.menu.Menu({
items: [{
text: _('5 KiB/s'),
}, {
text: _('10 KiB/s'),
}, {
text: _('30 KiB/s'),
}, {
text: _('80 KiB/s'),
}, {
text: _('300 KiB/s'),
},{
text: _('Unlimited')
}]
})
}, {
text: _('U/L Speed Limit'),
iconCls: 'x-deluge-seeding',
menu: new Ext.menu.Menu({
items: [{
text: _('5 KiB/s'),
}, {
text: _('10 KiB/s'),
}, {
text: _('30 KiB/s'),
}, {
text: _('80 KiB/s'),
}, {
text: _('300 KiB/s'),
},{
text: _('Unlimited')
}]
})
}, {
text: _('Connection Limit'),
icon: '/icons/16/connections.png',
menu: new Ext.menu.Menu({
items: [{
text: _('50'),
}, {
text: _('100'),
}, {
text: _('200'),
}, {
text: _('300'),
}, {
text: _('500'),
},{
text: _('Unlimited')
}]
})
}, {
text: _('Upload Slot Limit'),
icon: '/icons/16/upload_slots.png',
menu: new Ext.menu.Menu({
items: [{
text: _('0'),
}, {
text: _('1'),
}, {
text: _('2'),
}, {
text: _('3'),
}, {
text: _('5'),
},{
text: _('Unlimited')
}]
})
}, {
text: _('Auto Managed'),
checked: false
}]
})
}, '-', {
text: _('Queue'),
icon: '/icons/16/queue.png',
menu: new Ext.menu.Menu({
items: [{
text: _('Top'),
icon: '/icons/16/top.png'
},{
text: _('Up'),
icon: '/icons/16/up.png'
},{
text: _('Down'),
icon: '/icons/16/down.png'
},{
text: _('Bottom'),
icon: '/icons/16/bottom.png'
}]
})
}, '-', {
text: _('Update Tracker'),
icon: '/icons/16/update.png'
}, {
text: _('Edit Trackers'),
icon: '/icons/16/edit_trackers.png'
}, '-', {
text: _('Remove Torrent'),
icon: '/icons/16/remove.png'
}, '-', {
text: _('Force Recheck'),
icon: '/icons/16/recheck.png'
}, {
text: _('Move Storage'),
icon: '/icons/16/move.png'
}]
});
Deluge.Menus.Connections = new Ext.menu.Menu({ Deluge.Menus.Connections = new Ext.menu.Menu({
id: 'connectionsMenu', id: 'connectionsMenu',