save correctly chatstate colors.

This commit is contained in:
Yann Leboulanger 2006-03-26 18:01:18 +00:00
parent a5d95b4792
commit c6e6090ef5
1 changed files with 4 additions and 1 deletions

View File

@ -262,8 +262,11 @@ class GajimThemesWindow:
color_string = gtkgui_helpers.make_color_string(color)
else:
color_string = ''
begin_option = ''
if not option.startswith('state'):
begin_option = self.current_option
gajim.config.set_per('themes', self.current_theme,
self.current_option + option, color_string)
begin_option + option, color_string)
# use faster functions for this
if self.current_option == 'banner':
gajim.interface.roster.repaint_themed_widgets()