summaryrefslogtreecommitdiff
blob: a3746bb4a4ce6840102110f5dd6df6d1f75e9328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- evolution-1.0.8/mail/folder-browser.c.stackcorrupt	Mon Sep  2 15:30:46 2002
+++ evolution-1.0.8/mail/folder-browser.c	Mon Sep  2 15:31:04 2002
@@ -1341,6 +1341,30 @@
 	message_list_hide_add(ml, "(match-all (system-flag \"seen\"))", ML_HIDE_SAME, ML_HIDE_SAME);
 }
 
+static void
+mark_as_seen_cb (GtkWidget *widget, FolderBrowser *fb)
+{
+	mark_as_seen (NULL, fb, NULL);
+}
+
+static void
+mark_as_unseen_cb (GtkWidget *widget, FolderBrowser *fb)
+{
+	mark_as_unseen (NULL, fb, NULL);
+}
+
+static void
+mark_as_important_cb (GtkWidget *widget, FolderBrowser *fb)
+{
+	mark_as_important (NULL, fb, NULL);
+}
+
+static void
+mark_as_unimportant_cb (GtkWidget *widget, FolderBrowser *fb)
+{
+	mark_as_unimportant (NULL, fb, NULL);
+}
+
 /* dum de dum, about the 3rd copy of this function throughout the mailer/camel */
 static const char *
 strip_re(const char *subject)
@@ -1456,10 +1480,10 @@
 	{ N_("Reply to _All"),              NULL, GTK_SIGNAL_FUNC (reply_to_all),     NULL,  0 },
 	{ N_("_Forward"),                   NULL, GTK_SIGNAL_FUNC (forward),          NULL,  0 },
 	{ "", NULL, (NULL), NULL,  0 },
-	{ N_("Mar_k as Read"),              NULL, GTK_SIGNAL_FUNC (mark_as_seen),     NULL,  CAN_MARK_READ },
-	{ N_("Mark as U_nread"),            NULL, GTK_SIGNAL_FUNC (mark_as_unseen),   NULL,  CAN_MARK_UNREAD },
-	{ N_("Mark as _Important"),         NULL, GTK_SIGNAL_FUNC (mark_as_important), NULL, CAN_MARK_IMPORTANT },
-	{ N_("Mark as Unim_portant"),       NULL, GTK_SIGNAL_FUNC (mark_as_unimportant), NULL, CAN_MARK_UNIMPORTANT },
+	{ N_("Mar_k as Read"),              NULL, GTK_SIGNAL_FUNC (mark_as_seen_cb),     NULL,  CAN_MARK_READ },
+	{ N_("Mark as U_nread"),            NULL, GTK_SIGNAL_FUNC (mark_as_unseen_cb),   NULL,  CAN_MARK_UNREAD },
+	{ N_("Mark as _Important"),         NULL, GTK_SIGNAL_FUNC (mark_as_important_cb), NULL, CAN_MARK_IMPORTANT },
+	{ N_("Mark as Unim_portant"),       NULL, GTK_SIGNAL_FUNC (mark_as_unimportant_cb), NULL, CAN_MARK_UNIMPORTANT },
 	
 	E_POPUP_SEPARATOR,