From 9cb2b747090990fc2301c6b64ef521892ab2644f Mon Sep 17 00:00:00 2001
From: necoro <>
Date: Tue, 24 Apr 2007 20:23:54 +0000
Subject: add application icon and desktop file
---
portato/gui/qt/windows.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'portato/gui/qt/windows.py')
diff --git a/portato/gui/qt/windows.py b/portato/gui/qt/windows.py
index edb1873..420b9e1 100644
--- a/portato/gui/qt/windows.py
+++ b/portato/gui/qt/windows.py
@@ -16,7 +16,7 @@ import sip
# our backend stuff
from portato.helper import *
-from portato.constants import CONFIG_LOCATION, VERSION, DATA_DIR
+from portato.constants import CONFIG_LOCATION, VERSION, DATA_DIR, APP_ICON
from portato.backend import flags, system
from portato.backend.exceptions import *
@@ -60,6 +60,7 @@ class Window (object):
def __init__(self, parent = None):
self._qt_base.__init__(self, parent)
self.setupUi(self)
+ self.setWindowIcon(Qt.QIcon(APP_ICON))
@staticmethod
def watch_cursor (func):
@@ -98,7 +99,7 @@ A Portage-GUI
This software is licensed under the terms of the GPLv2.
Copyright (C) 2006-2007 René 'Necoro' Neumann <necoro@necoro.net>
-Thanks to Fred for support and ideas :P""" % VERSION)
+Icon created by wolfden""" % VERSION)
self.pluginList.setHeaderLabels(["Plugin", "Author"])
--
cgit v1.2.3-70-g09d2