Philipp Hörist pushed to branch master at gajim / gajim
Commits: 8be5562b by Philipp Hörist at 2018-11-18T11:52:24Z Dont fail when IconTheme is not available
This is needed for tests to work
- - - - -
1 changed file:
- gajim/gtk/util.py
Changes:
===================================== gajim/gtk/util.py ===================================== @@ -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')
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/8be5562b92f06047dbfa17c48f9abc29f13...