save correctly chatstate colors.
This commit is contained in:
parent
a5d95b4792
commit
c6e6090ef5
|
@ -262,8 +262,11 @@ class GajimThemesWindow:
|
||||||
color_string = gtkgui_helpers.make_color_string(color)
|
color_string = gtkgui_helpers.make_color_string(color)
|
||||||
else:
|
else:
|
||||||
color_string = ''
|
color_string = ''
|
||||||
|
begin_option = ''
|
||||||
|
if not option.startswith('state'):
|
||||||
|
begin_option = self.current_option
|
||||||
gajim.config.set_per('themes', self.current_theme,
|
gajim.config.set_per('themes', self.current_theme,
|
||||||
self.current_option + option, color_string)
|
begin_option + option, color_string)
|
||||||
# use faster functions for this
|
# use faster functions for this
|
||||||
if self.current_option == 'banner':
|
if self.current_option == 'banner':
|
||||||
gajim.interface.roster.repaint_themed_widgets()
|
gajim.interface.roster.repaint_themed_widgets()
|
||||||
|
|
Loading…
Reference in New Issue