summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2018-06-21 15:08:41 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2018-06-21 15:08:45 +0100
commit993abbc6a66837f32dec00d29ee80dea5dbcdf20 (patch)
treef0f981d67151b6c96e07f2e16f19de776670d831
parenta2fcebe15c8d9e238a827896c2d6b91a1274a042 (diff)
downloaddeluge-993abbc6a66837f32dec00d29ee80dea5dbcdf20.tar.gz
deluge-993abbc6a66837f32dec00d29ee80dea5dbcdf20.tar.bz2
deluge-993abbc6a66837f32dec00d29ee80dea5dbcdf20.zip
[#3130|GTKUI] Add deluge-panel for systray
To help theme deluge systray icon use a separate icon.
-rw-r--r--deluge/data/icons/hicolor/16x16/apps/deluge-panel.pngbin0 -> 722 bytes
-rw-r--r--deluge/data/icons/hicolor/22x22/apps/deluge-panel.pngbin0 -> 1109 bytes
-rw-r--r--deluge/data/icons/hicolor/24x24/apps/deluge-panel.pngbin0 -> 1252 bytes
-rw-r--r--deluge/ui/gtkui/systemtray.py2
4 files changed, 1 insertions, 1 deletions
diff --git a/deluge/data/icons/hicolor/16x16/apps/deluge-panel.png b/deluge/data/icons/hicolor/16x16/apps/deluge-panel.png
new file mode 100644
index 000000000..e39cd0c7e
--- /dev/null
+++ b/deluge/data/icons/hicolor/16x16/apps/deluge-panel.png
Binary files differ
diff --git a/deluge/data/icons/hicolor/22x22/apps/deluge-panel.png b/deluge/data/icons/hicolor/22x22/apps/deluge-panel.png
new file mode 100644
index 000000000..de0fdea7b
--- /dev/null
+++ b/deluge/data/icons/hicolor/22x22/apps/deluge-panel.png
Binary files differ
diff --git a/deluge/data/icons/hicolor/24x24/apps/deluge-panel.png b/deluge/data/icons/hicolor/24x24/apps/deluge-panel.png
new file mode 100644
index 000000000..faad5cc25
--- /dev/null
+++ b/deluge/data/icons/hicolor/24x24/apps/deluge-panel.png
Binary files differ
diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py
index fc6426d5b..21b0691b7 100644
--- a/deluge/ui/gtkui/systemtray.py
+++ b/deluge/ui/gtkui/systemtray.py
@@ -135,7 +135,7 @@ class SystemTray(component.Component):
common.get_logo(32))
else:
try:
- self.tray = gtk.status_icon_new_from_icon_name("deluge")
+ self.tray = gtk.status_icon_new_from_icon_name("deluge-panel")
except:
log.warning("Update PyGTK to 2.10 or greater for SystemTray..")
return