From 3cedfae4c21b3e2cdd53a74208f38c0e9885055f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 16 May 2002 20:56:36 +0000 Subject: Check for a label tag when doing a lookup on the COLOR column. 2002-05-16 Jeffrey Stedfast * message-list.c (ml_tree_value_at): Check for a label tag when doing a lookup on the COLOR column. * mail-config.c (mail_config_get_label_color_string): Return the colour in string format. * folder-browser.c (set_msg_label): Replaces colourise_msg and sets the "label" tag rather than the "colour" tag. * mail-preferences.c (mail_preferences_apply): Call mail_config_write() so that the settings get synced to disk. svn path=/trunk/; revision=16938 --- mail/mail-preferences.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-preferences.c') diff --git a/mail/mail-preferences.c b/mail/mail-preferences.c index ba8f0fe495..949fefc7f4 100644 --- a/mail/mail-preferences.c +++ b/mail/mail-preferences.c @@ -429,5 +429,6 @@ mail_preferences_apply (MailPreferences *prefs) rgb = colorpicker_get_color (prefs->labels[i].color); mail_config_set_label_color (i, rgb); } + + mail_config_write (); } - -- cgit v1.2.3