View my_emoticones sets in prefs (regression in [7355])
This commit is contained in:
parent
291666a5e3
commit
dcbde70325
|
@ -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)
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue