fix for #1182: show Disabled when it's the one selected

This commit is contained in:
Yann Leboulanger 2006-03-17 19:45:08 +00:00
parent 24fcd311df
commit 0bb0fe4157
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class PreferencesWindow:
if gajim.config.get('emoticons_theme') == l[i]:
emoticons_combobox.set_active(i)
if not gajim.config.get('emoticons_theme'):
emoticons_combobox.set_active(len(l))
emoticons_combobox.set_active(len(l)-1)
#iconset
iconsets_list = os.listdir(os.path.join(gajim.DATA_DIR, 'iconsets'))