diff options
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 14 |
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); |