Reminder to change call to pixbuf.add_alpha in later version of gtk/pygtk.

svn: r12692
This commit is contained in:
Peter Landgren 2009-06-22 07:50:04 +00:00
parent 4bc5a34938
commit 7390f38f61

View File

@ -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!