aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-14 06:28:39 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-14 06:28:39 +0800
commit7751734b69ac0e104c69aea46c8a512465eaa249 (patch)
tree3606722c4fb7e8559877fe7b439a94e07930a7b6 /mail/mail-callbacks.c
parent650dfce65f38f23279085082a293f97c28469f3d (diff)
downloadgsoc2013-evolution-7751734b69ac0e104c69aea46c8a512465eaa249.tar
gsoc2013-evolution-7751734b69ac0e104c69aea46c8a512465eaa249.tar.gz
gsoc2013-evolution-7751734b69ac0e104c69aea46c8a512465eaa249.tar.bz2
gsoc2013-evolution-7751734b69ac0e104c69aea46c8a512465eaa249.tar.lz
gsoc2013-evolution-7751734b69ac0e104c69aea46c8a512465eaa249.tar.xz
gsoc2013-evolution-7751734b69ac0e104c69aea46c8a512465eaa249.tar.zst
gsoc2013-evolution-7751734b69ac0e104c69aea46c8a512465eaa249.zip
Set the followup icon to use the new flag icon rather than the exclamation
2002-02-13 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c10
1 files changed, 10 insertions, 0 deletions
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);