hamster-applet r611 - trunk/hamster
- From: tbaugis svn gnome org
- To: svn-commits-list gnome org
- Subject: hamster-applet r611 - trunk/hamster
- Date: Tue, 28 Oct 2008 19:55:12 +0000 (UTC)
Author: tbaugis
Date: Tue Oct 28 19:55:12 2008
New Revision: 611
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=611&view=rev
Log:
set default icon for all windows. fixes bug 558238
Modified:
trunk/hamster/about.py
trunk/hamster/hamster-applet.py
Modified: trunk/hamster/about.py
==============================================================================
--- trunk/hamster/about.py (original)
+++ trunk/hamster/about.py Tue Oct 28 19:55:12 2008
@@ -56,13 +56,9 @@
for prop, val in infos.items():
about.set_property(prop, val)
- hamster_logo = join(SHARED_DATA_DIR, 'art', 'hamster-applet.png')
-
- zupa = gtk.gdk.pixbuf_new_from_file(hamster_logo)
- about.set_logo(zupa)
+ about.set_logo_icon_name("hamster-applet")
def on_destroy():
- print "byee"
parent.about = None
about.connect("response", lambda self, *args: self.destroy())
Modified: trunk/hamster/hamster-applet.py
==============================================================================
--- trunk/hamster/hamster-applet.py (original)
+++ trunk/hamster/hamster-applet.py Tue Oct 28 19:55:12 2008
@@ -125,6 +125,8 @@
'do_trace': do_trace,
}
+ gtk.window_set_default_icon_name("hamster-applet")
+
if standalone:
import gnome
gnome.init(hamster.defs.PACKAGE, hamster.defs.VERSION)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]