From 7390f38f61a296b131fca63862d94b3d6bcc1c27 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 22 Jun 2009 07:50:04 +0000 Subject: [PATCH] Reminder to change call to pixbuf.add_alpha in later version of gtk/pygtk. svn: r12692 --- src/gui/grampsgui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/grampsgui.py b/src/gui/grampsgui.py index aa58fe0e9..38a5e2f1e 100644 --- a/src/gui/grampsgui.py +++ b/src/gui/grampsgui.py @@ -171,6 +171,8 @@ def register_stock_icons (): icon_file = os.path.join(const.IMAGE_DIR, 'gramps.png') pixbuf = gtk.gdk.pixbuf_new_from_file (icon_file) + ## FIXME from gtk 2.17.3/2.15.2 change this to + ## FIXME pixbuf = pixbuf.add_alpha(True, 255, 255, 255) pixbuf = pixbuf.add_alpha(True, chr(0xff), chr(0xff), chr(0xff)) icon_set = gtk.IconSet (pixbuf) #add different sized icons, always png type!