From 4c1a78e6124b25de8bbdd35298d6bd8959b31d0a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 16 Mar 2002 02:22:54 +0000 Subject: New callback to set a colour on a message. 2002-03-15 Jeffrey Stedfast * mail-callbacks.c (colour_msg): New callback to set a colour on a message. * folder-browser.c (on_right_click): Setup our popup icons and stuff. Also add a submenu for Labels. * mail-display.c (pixmap_press): Sync up with the new EPopupMenu API. Note: This code can probably now be fixed to use per-item closures - yay! * mail-accounts.c (construct): Connect to the label GtkEntry's and GnomeColorPickers and also to the Restore Defaults button. * mail-config.c (mail_config_get_label_name): New function to get a label's name. (mail_config_set_label_name): New function to set the label name. (mail_config_get_label_color): New function to get the label color. (mail_config_set_label_color): New function to set the label color. (config_read): Read in the config options for the labels and their colors. (mail_config_write_on_exit): Save the label options. svn path=/trunk/; revision=16186 --- mail/mail-config-druid.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mail/mail-config-druid.c') diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index d1c0fabcc1..c9396be6ef 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -390,7 +390,6 @@ static void management_check (MailConfigWizard *wizard) { gboolean next_sensitive; - GtkWidget *label; char *text; text = gtk_entry_get_text (wizard->gui->account_name); @@ -418,8 +417,8 @@ management_prepare (EvolutionWizard *wizard, gpointer data) unsigned int i = 1, len; /* length of name + 1 char for ' ' + 1 char - for '(' + 10 chars for %d + 1 char for ')' - + 1 char for nul */ + for '(' + 10 chars for %d + 1 char for ')' + + 1 char for nul */ len = strlen (name); template = alloca (len + 14); strcpy (template, name); -- cgit v1.2.3