From ee7e444d9214f5cbc83d18a26b38afd7eaf90159 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Tue, 12 Jun 2007 21:24:55 +0000 Subject: reverted back to png, but now using the image in the svg --- portato/constants.py | 3 +-- portato/gui/qt/windows.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'portato') diff --git a/portato/constants.py b/portato/constants.py index bbd5d83..126d5c8 100644 --- a/portato/constants.py +++ b/portato/constants.py @@ -18,8 +18,7 @@ PLUGIN_DIR = "plugins/" VERSION = 9999 ICON_DIR = "icons/" -APP_ICON = ICON_DIR+"/portato-icon.svg" -APP_ICON_PNG = ICON_DIR+"/portato-icon.png" +APP_ICON = 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 639b42b..4763fb8 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_PNG), self) # use this until Qt supports proper SVG images in the systray + self.systray = Qt.QSystemTrayIcon(Qt.QIcon(APP_ICON), 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) -- cgit v1.2.3-54-g00ecf