decode fixes in emoticons [stephan k.]
This commit is contained in:
parent
a725792f36
commit
c2b5ef6091
|
@ -1911,8 +1911,10 @@ class ManageEmoticonsWindow:
|
||||||
if not emot in emots:
|
if not emot in emots:
|
||||||
gajim.config.add_per('emoticons', emot)
|
gajim.config.add_per('emoticons', emot)
|
||||||
self.plugin.init_regexp() # update regexp [emoticons included]
|
self.plugin.init_regexp() # update regexp [emoticons included]
|
||||||
gajim.config.set_per('emoticons', emot, 'path',
|
image = model[iter][1]
|
||||||
model[iter][1].decode('utf-8'))
|
if image:
|
||||||
|
image = image.decode('utf-8')
|
||||||
|
gajim.config.set_per('emoticons', emot, 'path', image)
|
||||||
self.plugin.save_config()
|
self.plugin.save_config()
|
||||||
|
|
||||||
def image_is_ok(self, image):
|
def image_is_ok(self, image):
|
||||||
|
|
Loading…
Reference in New Issue