Dont fail when IconTheme is not available
This is needed for tests to work
This commit is contained in:
parent
d13baed80f
commit
8be5562b92
|
@ -32,6 +32,7 @@ from gajim.common import i18n
|
|||
from gajim.common.i18n import _
|
||||
|
||||
_icon_theme = Gtk.IconTheme.get_default()
|
||||
if _icon_theme is not None:
|
||||
_icon_theme.append_search_path(configpaths.get('ICONS'))
|
||||
|
||||
log = logging.getLogger('gajim.gtk.util')
|
||||
|
|
Loading…
Reference in New Issue