aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-tag-followup.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/message-tag-followup.c
parent650dfce65f38f23279085082a293f97c28469f3d (diff)
downloadgsoc2013-evolution-7751734b69ac0e104c69aea46c8a512465eaa249.tar.gz
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/message-tag-followup.c')
-rw-r--r--mail/message-tag-followup.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/message-tag-followup.c b/mail/message-tag-followup.c
index 8306fead8b..82a502e791 100644
--- a/mail/message-tag-followup.c
+++ b/mail/message-tag-followup.c
@@ -31,6 +31,8 @@
#include <glade/glade.h>
+#include <libgnomeui/gnome-pixmap.h>
+
#include "message-tag-followup.h"
static void message_tag_followup_class_init (MessageTagFollowUpClass *class);
@@ -311,6 +313,11 @@ construct (MessageTagEditor *editor)
/* reparent */
gtk_widget_reparent (widget, GNOME_DIALOG (editor)->vbox);
+ widget = glade_xml_get_widget (gui, "pixmap");
+ gnome_pixmap_load_file (GNOME_PIXMAP (widget), EVOLUTION_GLADEDIR "/flag-for-followup-48.png");
+
+ followup->message_list = GTK_CLIST (glade_xml_get_widget (gui, "message_list"));
+
followup->type = GTK_OPTION_MENU (glade_xml_get_widget (gui, "followup_type"));
gtk_option_menu_remove_menu (followup->type);
menu = gtk_menu_new ();
@@ -354,3 +361,19 @@ message_tag_followup_new (void)
return editor;
}
+
+void
+message_tag_followup_append_message (MessageTagFollowUp *editor,
+ const char *from,
+ const char *subject)
+{
+ char *text[3];
+
+ g_return_if_fail (IS_MESSAGE_TAG_FOLLOWUP (editor));
+
+ text[0] = (char *) from;
+ text[1] = (char *) subject;
+ text[2] = NULL;
+
+ gtk_clist_append (editor->message_list, text);
+}