prevent traceback If the gajim icon is absent
This commit is contained in:
parent
44afd960d0
commit
4a02b2d381
|
@ -2779,6 +2779,7 @@ class Interface:
|
||||||
self.systray = statusicon.StatusIcon()
|
self.systray = statusicon.StatusIcon()
|
||||||
|
|
||||||
pix = gtkgui_helpers.get_icon_pixmap('gajim', 32)
|
pix = gtkgui_helpers.get_icon_pixmap('gajim', 32)
|
||||||
|
if pix is not None:
|
||||||
# set the icon to all windows
|
# set the icon to all windows
|
||||||
gtk.window_set_default_icon(pix)
|
gtk.window_set_default_icon(pix)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue