diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-17 04:56:36 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-17 04:56:36 +0800 |
commit | 3cedfae4c21b3e2cdd53a74208f38c0e9885055f (patch) | |
tree | 33a553001856816f86305966900de187721ddcb6 /mail/mail-config.h | |
parent | 03c399c656ca3cc0d206d15e2f0d217f045d3ee2 (diff) | |
download | gsoc2013-evolution-3cedfae4c21b3e2cdd53a74208f38c0e9885055f.tar.gz gsoc2013-evolution-3cedfae4c21b3e2cdd53a74208f38c0e9885055f.tar.zst gsoc2013-evolution-3cedfae4c21b3e2cdd53a74208f38c0e9885055f.zip |
Check for a label tag when doing a lookup on the COLOR column.
2002-05-16 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r-- | mail/mail-config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h index 6d70a3a120..bfcd442344 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -125,6 +125,7 @@ typedef enum { typedef struct { char *name; guint32 color; + char *string; } MailConfigLabel; extern MailConfigLabel label_defaults[5]; @@ -196,6 +197,7 @@ const char *mail_config_get_label_name (int label); void mail_config_set_label_name (int label, const char *name); guint32 mail_config_get_label_color (int label); void mail_config_set_label_color (int label, guint32 color); +const char *mail_config_get_label_color_string (int label); gint mail_config_get_do_seen_timeout (void); void mail_config_set_do_seen_timeout (gboolean do_seen_timeout); |