diff options
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 3942b86a41..f80b91e136 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -453,14 +453,12 @@ mark_all_seen (BonoboUIHandler *uih, void *user_data, const char *path) { FolderBrowser *fb = FOLDER_BROWSER(user_data); MessageList *ml = fb->message_list; - GPtrArray *uids; if (ml->folder == NULL) return; - uids = camel_folder_get_uids (ml->folder); - mail_do_flag_messages (ml->folder, uids, FALSE, - CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN); + mail_do_flag_all_messages (ml->folder, FALSE, + CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN); } void |