Skip to content
Snippets Groups Projects
Commit 18f45ecf authored by nkour's avatar nkour
Browse files

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

parent da77fbd1
No related branches found
No related tags found
No related merge requests found
data/pixmaps/gajim.png

71.4 KiB | W: | H:

data/pixmaps/gajim.png

13.6 KiB | W: | H:

data/pixmaps/gajim.png
data/pixmaps/gajim.png
data/pixmaps/gajim.png
data/pixmaps/gajim.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -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'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment