Skip to content
Snippets Groups Projects
Commit fefbc290 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

show only folders in iconsets and emoticons combobox. fixes #2638

parent 43ddd313
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,8 @@ class PreferencesWindow:
emoticons_combobox.set_model(model)
l = []
for dir in emoticons_list:
if not os.path.isdir(os.path.join(gajim.DATA_DIR, 'emoticons', dir)):
continue
if dir != '.svn':
l.append(dir)
l.append(_('Disabled'))
......@@ -146,6 +148,8 @@ class PreferencesWindow:
self.iconset_combobox.set_model(model)
l = []
for dir in iconsets_list:
if not os.path.isdir(os.path.join(gajim.DATA_DIR, 'iconsets', dir)):
continue
if dir != '.svn' and dir != 'transports':
l.append(dir)
if l.count == 0:
......
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