use png for about cause we use alpha for bg shadow [not possible in svg]

This commit is contained in:
Nikos Kouremenos 2005-06-03 15:43:36 +00:00
parent da77fbd112
commit 18f45ecf4f
2 changed files with 1 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -386,10 +386,7 @@ class About_dialog:
authors = ['Yann Le Boulanger <asterix@lagaule.org>', 'Vincent Hanquez <tab@snarc.org>', 'Nikos Kouremenos <kourem@gmail.com>', 'Alex Podaras <bigpod@gmail.com>']
dlg.set_authors(authors)
try:
pixbuf = gtk.gdk.pixbuf_new_from_file(os.path.join(gajim.DATA_DIR, 'pixmaps/gajim.svg'))
except gobject.GError: # svg loader not available, fallback to png [scales worse]
pixbuf = gtk.gdk.pixbuf_new_from_file(os.path.join(gajim.DATA_DIR, 'pixmaps/gajim.png'))
pixbuf = gtk.gdk.pixbuf_new_from_file(os.path.join(gajim.DATA_DIR, 'pixmaps/gajim.png'))
dlg.set_logo(pixbuf)
dlg.set_translator_credits(_('translator_credits'))