Philipp Hörist pushed to branch gajim_1.0 at gajim / gajim

Commits:
3fdb72c4 by Philipp Hörist at 2018-03-18T00:04:00+01:00
Fix showing `not in roster` status icon

- - - - -


1 changed file:

- gajim/gtkgui_helpers.py


Changes:

=====================================
gajim/gtkgui_helpers.py
=====================================
--- 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():
     """



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/3fdb72c4a418da20762dcd10a5f6afe83141bc8f

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/3fdb72c4a418da20762dcd10a5f6afe83141bc8f
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to