Skip to content
Snippets Groups Projects
Commit cbab10be authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix showing `not in roster` status icon

parent 504bfef7
No related branches found
No related tags found
No related merge requests found
...@@ -642,10 +642,12 @@ def get_pep_as_pixbuf(pep_class): ...@@ -642,10 +642,12 @@ def get_pep_as_pixbuf(pep_class):
return None return None
def get_iconset_name_for(name): def get_iconset_name_for(name):
if name == 'not in roster':
name = 'notinroster'
iconset = app.config.get('iconset') iconset = app.config.get('iconset')
if not iconset: if not iconset:
return '-'.join([app.config.DEFAULT_ICONSET, name]) iconset = app.config.DEFAULT_ICONSET
return '-'.join([iconset, name]) return '%s-%s' % (iconset, name)
def load_icons_meta(): def load_icons_meta():
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment