From 0ae3f73824ac55fab40594bc0ee16812d0f3bbf4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 16 Mar 2002 04:40:07 +0000 Subject: Draw colour rectangles for each of the colour items and set a closure on 2002-03-15 Jeffrey Stedfast * folder-browser.c (on_right_click): Draw colour rectangles for each of the colour items and set a closure on each. (colourise_msg): colourise the message, yo. svn path=/trunk/; revision=16187 --- mail/mail-accounts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-accounts.c') diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index 6b8d654f99..c5a1c208b0 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -658,7 +658,7 @@ static void label_color_set (GnomeColorPicker *cp, guint r, guint g, guint b, guint a, gpointer user_data) { MailAccountsDialog *dialog = user_data; - guint32 rgb; + guint32 rgb = 0; int label; for (label = 0; label < 5; label++) { @@ -692,6 +692,7 @@ restore_labels_clicked (GtkButton *button, gpointer user_data) for (i = 0; i < 5; i++) { e_utf8_gtk_entry_set_text (dialog->labels[i].name, U_(label_defaults[i].name)); set_color (dialog->labels[i].color, label_defaults[i].color); + mail_config_set_label_color (i, label_defaults[i].color); } } -- cgit v1.2.3