From cbab10bedd276506975afe6649fbf65b3ca6c283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 18 Mar 2018 00:02:28 +0100 Subject: [PATCH] Fix showing `not in roster` status icon --- gajim/gtkgui_helpers.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gajim/gtkgui_helpers.py b/gajim/gtkgui_helpers.py index 06ec0cb8a..28cb7f8e1 100644 --- a/gajim/gtkgui_helpers.py +++ b/gajim/gtkgui_helpers.py @@ -642,10 +642,12 @@ def get_pep_as_pixbuf(pep_class): return None def get_iconset_name_for(name): + if name == 'not in roster': + name = 'notinroster' iconset = app.config.get('iconset') if not iconset: - return '-'.join([app.config.DEFAULT_ICONSET, name]) - return '-'.join([iconset, name]) + iconset = app.config.DEFAULT_ICONSET + return '%s-%s' % (iconset, name) def load_icons_meta(): """