summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authornecoro <>2007-06-12 20:55:53 +0000
committernecoro <>2007-06-12 20:55:53 +0000
commitcc8a41e09db8ad0b0666a30832d4b510b71ab5c4 (patch)
tree39db5afe75a820e93d352a48ce58894646be3e68 /portato
parent5ac9a566dcb8b59aa3384429f80fb2103014046c (diff)
downloadportato-cc8a41e09db8ad0b0666a30832d4b510b71ab5c4.tar.gz
portato-cc8a41e09db8ad0b0666a30832d4b510b71ab5c4.tar.bz2
portato-cc8a41e09db8ad0b0666a30832d4b510b71ab5c4.zip
added svg-icon
Diffstat (limited to 'portato')
-rw-r--r--portato/constants.py3
-rw-r--r--portato/gui/qt/windows.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/portato/constants.py b/portato/constants.py
index 126d5c8..bbd5d83 100644
--- a/portato/constants.py
+++ b/portato/constants.py
@@ -18,7 +18,8 @@ PLUGIN_DIR = "plugins/"
VERSION = 9999
ICON_DIR = "icons/"
-APP_ICON = ICON_DIR+"/portato-icon.png"
+APP_ICON = ICON_DIR+"/portato-icon.svg"
+APP_ICON_PNG = ICON_DIR+"/portato-icon.png"
FRONTENDS = ["gtk" ,"qt"]
STD_FRONTEND = "gtk"
diff --git a/portato/gui/qt/windows.py b/portato/gui/qt/windows.py
index d79e1bd..639b42b 100644
--- a/portato/gui/qt/windows.py
+++ b/portato/gui/qt/windows.py
@@ -725,7 +725,7 @@ class MainWindow (Window):
def build_systray (self):
if self.cfg.get_boolean("systray_opt", self.cfg.const["gui_sec"]):
- self.systray = Qt.QSystemTrayIcon(Qt.QIcon(APP_ICON), self)
+ self.systray = Qt.QSystemTrayIcon(Qt.QIcon(APP_ICON_PNG), self) # use this until Qt supports proper SVG images in the systray
self.trayIconMenu = Qt.QMenu(self)
self.trayIconMenu.addAction(self.quitAction)
self.systray.setContextMenu(self.trayIconMenu)