View my_emoticones sets in prefs (regression in [7355])

This commit is contained in:
Jean-Marie Traissard 2006-11-06 00:06:35 +00:00
parent 291666a5e3
commit dcbde70325
2 changed files with 3 additions and 2 deletions

View File

@ -122,7 +122,8 @@ class PreferencesWindow:
emoticons_combobox.set_model(model) emoticons_combobox.set_model(model)
l = [] l = []
for dir in emoticons_list: for dir in emoticons_list:
if not os.path.isdir(os.path.join(gajim.DATA_DIR, 'emoticons', dir)): if not os.path.isdir(os.path.join(gajim.DATA_DIR, 'emoticons', dir)) \
and not os.path.isdir(os.path.join(gajim.MY_EMOTS_PATH, dir)) :
continue continue
if dir != '.svn': if dir != '.svn':
l.append(dir) l.append(dir)

View File

@ -1657,7 +1657,7 @@ class Interface:
if not emot_theme: if not emot_theme:
return return
#initialize emoticons dictionary and unique images list # initialize emoticons dictionary and unique images list
self.emoticons_images = list() self.emoticons_images = list()
self.emoticons = dict() self.emoticons = dict()