Commit 8be5562b authored by Philipp Hörist's avatar Philipp Hörist

Dont fail when IconTheme is not available

This is needed for tests to work
parent d13baed8
......@@ -32,7 +32,8 @@ from gajim.common import i18n
from gajim.common.i18n import _
_icon_theme = Gtk.IconTheme.get_default()
_icon_theme.append_search_path(configpaths.get('ICONS'))
if _icon_theme is not None:
_icon_theme.append_search_path(configpaths.get('ICONS'))
log = logging.getLogger('gajim.gtk.util')
......
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