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
1 changed file:
Changes:
| ... | ... | @@ -642,10 +642,12 @@ def get_pep_as_pixbuf(pep_class): |
| 642 | 642 |
return None
|
| 643 | 643 |
|
| 644 | 644 |
def get_iconset_name_for(name):
|
| 645 |
+ if name == 'not in roster':
|
|
| 646 |
+ name = 'notinroster'
|
|
| 645 | 647 |
iconset = app.config.get('iconset')
|
| 646 | 648 |
if not iconset:
|
| 647 |
- return '-'.join([app.config.DEFAULT_ICONSET, name])
|
|
| 648 |
- return '-'.join([iconset, name])
|
|
| 649 |
+ iconset = app.config.DEFAULT_ICONSET
|
|
| 650 |
+ return '%s-%s' % (iconset, name)
|
|
| 649 | 651 |
|
| 650 | 652 |
def load_icons_meta():
|
| 651 | 653 |
"""
|