plain has ben renamed to gtk+
emoticons are no more in config file. Fixes #1838
This commit is contained in:
parent
f6aaac5e57
commit
a174f3e1c3
|
@ -164,7 +164,7 @@ class OptionsParser:
|
||||||
'groupfontattrs', 'contacttextcolor', 'contactbgcolor', 'contactfont',
|
'groupfontattrs', 'contacttextcolor', 'contactbgcolor', 'contactfont',
|
||||||
'contactfontattrs', 'bannertextcolor', 'bannerbgcolor', 'bannerfont',
|
'contactfontattrs', 'bannertextcolor', 'bannerbgcolor', 'bannerfont',
|
||||||
'bannerfontattrs']
|
'bannerfontattrs']
|
||||||
for theme_name in (_('grocery'), _('plain')):
|
for theme_name in (_('grocery'), _('gtk+')):
|
||||||
if theme_name not in gajim.config.get_per('themes'):
|
if theme_name not in gajim.config.get_per('themes'):
|
||||||
gajim.config.add_per('themes', theme_name)
|
gajim.config.add_per('themes', theme_name)
|
||||||
theme = gajim.config.themes_default[theme_name]
|
theme = gajim.config.themes_default[theme_name]
|
||||||
|
@ -190,12 +190,6 @@ class OptionsParser:
|
||||||
proxies += ', ' + 'proxy.netlab.cz'
|
proxies += ', ' + 'proxy.netlab.cz'
|
||||||
gajim.config.set_per('accounts', account, 'file_transfer_proxies',
|
gajim.config.set_per('accounts', account, 'file_transfer_proxies',
|
||||||
proxies)
|
proxies)
|
||||||
# Add some emots :-* :* >:) >:-) <3
|
|
||||||
for emot in [':-*', ':*', '>:)', '>:-)', '<3']:
|
|
||||||
if emot not in gajim.config.get_per('emoticons'):
|
|
||||||
gajim.config.add_per('emoticons', emot)
|
|
||||||
gajim.config.set_per('emoticons', emot, 'path',
|
|
||||||
gajim.config.emoticons_default[emot])
|
|
||||||
|
|
||||||
gajim.config.set('version', '0.9')
|
gajim.config.set('version', '0.9')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue