From 7751734b69ac0e104c69aea46c8a512465eaa249 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 13 Feb 2002 22:28:39 +0000 Subject: Set the followup icon to use the new flag icon rather than the exclamation 2002-02-13 Jeffrey Stedfast * folder-browser-ui.c: Set the followup icon to use the new flag icon rather than the exclamation mark icon. * mail-callbacks.c (flag_for_followup): Append the selected messages to the clist in the followp editor. * message-list.c: Include the new flag-for-followup icon. * message-tag-followup.c (message_tag_followup_append_message): New method to add a message to the message-list. (construct): Get the message_list widget and load the flag icon pixmap. svn path=/trunk/; revision=15720 --- mail/mail-callbacks.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mail/mail-callbacks.c') diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index dc57cf8d68..0c10521ad9 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1873,6 +1873,7 @@ flag_for_followup (BonoboUIComponent *uih, void *user_data, const char *path) struct _tag_editor_data *data; GtkWidget *editor; GPtrArray *uids; + int i; if (FOLDER_BROWSER_IS_DESTROYED (fb)) return; @@ -1888,6 +1889,15 @@ flag_for_followup (BonoboUIComponent *uih, void *user_data, const char *path) data->fb = fb; data->uids = uids; + for (i = 0; i < uids->len; i++) { + CamelMessageInfo *info; + + info = camel_folder_get_message_info (fb->folder, uids->pdata[i]); + message_tag_followup_append_message (MESSAGE_TAG_FOLLOWUP (editor), + camel_message_info_from (info), + camel_message_info_subject (info)); + } + gnome_dialog_button_connect (GNOME_DIALOG (editor), 0, tag_editor_ok, data); gnome_dialog_button_connect (GNOME_DIALOG (editor), 1, tag_editor_cancel, data); gnome_dialog_set_close (GNOME_DIALOG (editor), TRUE); -- cgit v1.2.3