summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornecoro <>2007-06-12 21:24:55 +0000
committernecoro <>2007-06-12 21:24:55 +0000
commitee7e444d9214f5cbc83d18a26b38afd7eaf90159 (patch)
tree404916de586903e454b9a4441d9f6aa6cc47f26b
parent75b0aed85204717a116a14674039dcab1381fc90 (diff)
downloadportato-ee7e444d9214f5cbc83d18a26b38afd7eaf90159.tar.gz
portato-ee7e444d9214f5cbc83d18a26b38afd7eaf90159.tar.bz2
portato-ee7e444d9214f5cbc83d18a26b38afd7eaf90159.zip
reverted back to png, but now using the image in the svg
-rw-r--r--icons/portato-icon.pngbin0 -> 3684 bytes
-rw-r--r--portato/constants.py3
-rw-r--r--portato/gui/qt/windows.py2
-rw-r--r--portato_gtk.desktop2
-rw-r--r--portato_qt.desktop2
-rw-r--r--setup.py2
6 files changed, 5 insertions, 6 deletions
diff --git a/icons/portato-icon.png b/icons/portato-icon.png
new file mode 100644
index 0000000..f83e039
--- /dev/null
+++ b/icons/portato-icon.png
Binary files differ
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)
diff --git a/portato_gtk.desktop b/portato_gtk.desktop
index aa064b4..d5f503a 100644
--- a/portato_gtk.desktop
+++ b/portato_gtk.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=Portato (Gtk)
-Icon=portato-icon.svg
+Icon=portato-icon
Exec=gksu -D "Portato (GTK)" -u root portato gtk
StartupNotify=true
Type=Application
diff --git a/portato_qt.desktop b/portato_qt.desktop
index 6c15d3f..b521aca 100644
--- a/portato_qt.desktop
+++ b/portato_qt.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=Portato (Qt)
-Icon=portato-icon.svg
+Icon=portato-icon
Exec=kdesu -t --nonewdcop -c portato qt
StartupNotify=true
Type=Application
diff --git a/setup.py b/setup.py
index 4cddc5c..5c96f9e 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ from portato.constants import VERSION, DATA_DIR, FRONTENDS, ICON_DIR
packages = ["portato", "portato.gui", "portato.plugins", "portato.backend", "portato.backend.portage"]
ext_modules = []
-data_files = [(ICON_DIR, ["icons/portato-icon.png", "icons/portato-icon.svg"])]
+data_files = [(ICON_DIR, ["icons/portato-icon.png"])]
cmdclass = {}
if "gtk" in FRONTENDS: