aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorAriel Rios <ariel@arcavia.com>2000-08-28 04:14:12 +0800
committerAriel Rios <arios@src.gnome.org>2000-08-28 04:14:12 +0800
commitb3a5afcf5b8b9c05e1763df68a2746bac38b464b (patch)
tree1c236a59f3be2d0b3e0f0f40e83fee34067ee7b6 /mail/mail-callbacks.c
parent2940d55e854382fc4c2f1e2bc472ce9d3b2f43b4 (diff)
downloadgsoc2013-evolution-b3a5afcf5b8b9c05e1763df68a2746bac38b464b.tar.gz
gsoc2013-evolution-b3a5afcf5b8b9c05e1763df68a2746bac38b464b.tar.zst
gsoc2013-evolution-b3a5afcf5b8b9c05e1763df68a2746bac38b464b.zip
Added bonobo menu handler for mark_all_deleted function.
2000-08-27 Ariel Rios <ariel@arcavia.com> * folder-browser-factory.c (control_activate): Added bonobo menu handler for mark_all_deleted function. * mail.h: (mark_all_deleted): Added prototype. * mail-callbacks.c (mark_all_deleted): Added callback for marking all displayed messages in a folder as$ svn path=/trunk/; revision=5067
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index f80b91e136..c335315c34 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -462,6 +462,20 @@ mark_all_seen (BonoboUIHandler *uih, void *user_data, const char *path)
}
void
+mark_all_deleted (BonoboUIHandler *uih, void *user_data, const char *path)
+{
+ FolderBrowser *fb = FOLDER_BROWSER (user_data);
+ MessageList *ml = fb->message_list;
+
+ if (ml->folder == NULL)
+ return;
+
+ mail_do_flag_all_messages (ml->folder, FALSE,
+ CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_DELETED);
+}
+
+
+void
edit_msg (GtkWidget *widget, gpointer user_data)
{
FolderBrowser *fb = FOLDER_BROWSER (user_data);