migrate the old useemoticons option to emoticons_theme. Fixes #1715

This commit is contained in:
Yann Leboulanger 2006-03-17 12:15:31 +00:00
parent 4abd0a9d42
commit 618e429d82

View file

@ -207,4 +207,7 @@ class OptionsParser:
if self.old_values.has_key('autodetect_browser_mailer') and \ if self.old_values.has_key('autodetect_browser_mailer') and \
self.old_values['autodetect_browser_mailer'] is True: self.old_values['autodetect_browser_mailer'] is True:
gajim.config.set('autodetect_browser_mailer', False) gajim.config.set('autodetect_browser_mailer', False)
if self.old_values.has_key('useemoticons') and \
not self.old_values['useemoticons']
gajim.config.set('emoticons_theme', '')