Reminder to change call to pixbuf.add_alpha in later version of gtk/pygtk.
svn: r12692
This commit is contained in:
parent
4bc5a34938
commit
7390f38f61
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user