Fix showing `not in roster` status icon
This commit is contained in:
parent
504bfef7db
commit
cbab10bedd
|
@ -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():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue