[Reportbug-maint] [PATCH] Global-wide window icon setting fixes GTK+ warnings
Luca Bruno
lethalman88 at gmail.com
Sat Sep 13 19:45:05 UTC 2008
---
reportbug/ui/gtk2_ui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index a626b8a..551a805 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -1126,7 +1126,6 @@ class ReportbugAssistant (gtk.Assistant):
def __init__ (self, application):
gtk.Assistant.__init__ (self)
self.set_title ('Reportbug')
- self.set_icon_from_file (DEBIAN_LOGO)
self.application = application
self.showing_page = None
self.requested_page = None
@@ -1296,6 +1295,7 @@ def initialize ():
sys.excepthook = ExceptionDialog.create_excepthook (oldhook)
# GTK settings
+ gtk.window_set_default_icon_from_file (DEBIAN_LOGO)
gtk.link_button_set_uri_hook (lambda button, uri: launch_browser (uri))
application = ReportbugApplication ()
--
1.5.6.5
--
http://syx.googlecode.com - Smalltalk YX
http://lethalman.blogspot.com - Thoughts about computer technologies
http://www.ammazzatecitutti.org - Ammazzateci tutti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20080913/f4db96b9/attachment.pgp
More information about the Reportbug-maint
mailing list