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