name the default theme GTK+ and not system so a KDE or Windows user is not confused and generally better name. make it default
This commit is contained in:
parent
59bff310b0
commit
ac8c6a06aa
2 changed files with 5 additions and 5 deletions
|
@ -74,7 +74,7 @@ class Config:
|
||||||
'markedmsgcolor': [ opt_color, '#ff8080', '', True ],
|
'markedmsgcolor': [ opt_color, '#ff8080', '', True ],
|
||||||
'urlmsgcolor': [ opt_color, '#0000ff', '', True ],
|
'urlmsgcolor': [ opt_color, '#0000ff', '', True ],
|
||||||
'collapsed_rows': [ opt_str, '', '', True ],
|
'collapsed_rows': [ opt_str, '', '', True ],
|
||||||
'roster_theme': [ opt_str, 'system', '', True ],
|
'roster_theme': [ opt_str, 'gtk+', '', True ],
|
||||||
'saveposition': [ opt_bool, True ],
|
'saveposition': [ opt_bool, True ],
|
||||||
'mergeaccounts': [ opt_bool, False, '', True ],
|
'mergeaccounts': [ opt_bool, False, '', True ],
|
||||||
'sort_by_show': [ opt_bool, True, '', True ],
|
'sort_by_show': [ opt_bool, True, '', True ],
|
||||||
|
@ -300,6 +300,8 @@ class Config:
|
||||||
|
|
||||||
themes_default = {
|
themes_default = {
|
||||||
# sorted alphanum
|
# sorted alphanum
|
||||||
|
'gtk+': [ '', '', '', 'B', '', '','', 'I', '', '', '', '', '','' ],
|
||||||
|
|
||||||
_('green'): [ '', '#94aa8c', '', 'B', '#0000ff', '#eff3e7',
|
_('green'): [ '', '#94aa8c', '', 'B', '#0000ff', '#eff3e7',
|
||||||
'', 'I', '#000000', '', '', '', '',
|
'', 'I', '#000000', '', '', '', '',
|
||||||
'#94aa8c' ],
|
'#94aa8c' ],
|
||||||
|
@ -316,8 +318,6 @@ class Config:
|
||||||
'', 'I', '#000000', '', '', '', '',
|
'', 'I', '#000000', '', '', '', '',
|
||||||
'#918caa' ],
|
'#918caa' ],
|
||||||
|
|
||||||
_('system'): [ '', '', '', 'B', '', '','', 'I', '', '', '', '', '','' ],
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ft_proxies65_default = {
|
ft_proxies65_default = {
|
||||||
|
|
|
@ -1602,7 +1602,7 @@ class Interface:
|
||||||
#add default themes if there is not in the config file
|
#add default themes if there is not in the config file
|
||||||
theme = gajim.config.get('roster_theme')
|
theme = gajim.config.get('roster_theme')
|
||||||
if not theme in gajim.config.get_per('themes'):
|
if not theme in gajim.config.get_per('themes'):
|
||||||
gajim.config.set('roster_theme', 'green')
|
gajim.config.set('roster_theme', 'gtk+')
|
||||||
if len(gajim.config.get_per('themes')) == 0:
|
if len(gajim.config.get_per('themes')) == 0:
|
||||||
d = ['accounttextcolor', 'accountbgcolor', 'accountfont',
|
d = ['accounttextcolor', 'accountbgcolor', 'accountfont',
|
||||||
'accountfontattrs', 'grouptextcolor', 'groupbgcolor', 'groupfont',
|
'accountfontattrs', 'grouptextcolor', 'groupbgcolor', 'groupfont',
|
||||||
|
|
Loading…
Add table
Reference in a new issue