summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/windows.py
diff options
context:
space:
mode:
authornecoro <>2007-04-24 20:23:54 +0000
committernecoro <>2007-04-24 20:23:54 +0000
commit9cb2b747090990fc2301c6b64ef521892ab2644f (patch)
tree063885fb0410156faff6dff7fa75ce96bc070d8f /portato/gui/gtk/windows.py
parent859fb7aad346664da005f67e97bb76c393cb1afc (diff)
downloadportato-9cb2b747090990fc2301c6b64ef521892ab2644f.tar.gz
portato-9cb2b747090990fc2301c6b64ef521892ab2644f.tar.bz2
portato-9cb2b747090990fc2301c6b64ef521892ab2644f.zip
add application icon and desktop file
Diffstat (limited to 'portato/gui/gtk/windows.py')
-rw-r--r--portato/gui/gtk/windows.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 12b7a58..88d9a18 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -19,7 +19,7 @@ import gobject
# 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 *
@@ -42,6 +42,7 @@ class Window:
self.tree = gtk.glade.XML(GLADE_FILE, root = self.__class__.__name__)
self.tree.signal_autoconnect(self)
self.window = self.tree.get_widget(self.__class__.__name__)
+ self.window.set_icon_from_file(APP_ICON)
@staticmethod
def watch_cursor (func):
@@ -115,7 +116,7 @@ A Portage-GUI
This software is licensed under the terms of the GPLv2.
Copyright (C) 2006-2007 René 'Necoro' Neumann &lt;necoro@necoro.net&gt;
-<small>Thanks to Fred for support and ideas :P</small>
+Icon created by wolfden
""" % VERSION)
view = self.tree.get_widget("pluginList")