aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-03-16 12:40:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-16 12:40:07 +0800
commit0ae3f73824ac55fab40594bc0ee16812d0f3bbf4 (patch)
treec4808047014183a58436b3740a9bc6b5f8c0836b /mail/mail-accounts.c
parent4c1a78e6124b25de8bbdd35298d6bd8959b31d0a (diff)
downloadgsoc2013-evolution-0ae3f73824ac55fab40594bc0ee16812d0f3bbf4.tar.gz
gsoc2013-evolution-0ae3f73824ac55fab40594bc0ee16812d0f3bbf4.tar.zst
gsoc2013-evolution-0ae3f73824ac55fab40594bc0ee16812d0f3bbf4.zip
Draw colour rectangles for each of the colour items and set a closure on
2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r--mail/mail-accounts.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}