Commit 0645a6e8 authored by Yann Leboulanger's avatar Yann Leboulanger

allow WM to use several sizes of gajim icon so that it's nicer. Fixes #6839

parent 829892f4
......@@ -2786,10 +2786,14 @@ def gnome_screensaver_ActiveChanged_cb(active):
import statusicon
self.systray = statusicon.StatusIcon()
pix = gtkgui_helpers.get_icon_pixmap('gajim', 32)
if pix is not None:
pixs = []
for size in (16, 32, 48, 64, 128):
pix = gtkgui_helpers.get_icon_pixmap('gajim', size)
if pix:
pixs.append(pix)
if pixs:
# set the icon to all windows
gtk.window_set_default_icon(pix)
gtk.window_set_default_icon_list(*pixs)
self.init_emoticons()
self.make_regexps()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment