[evolution] Bug #613354 - Folder->Mark all messages as read does not work
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #613354 - Folder->Mark all messages as read does not work
- Date: Thu, 1 Apr 2010 13:25:59 +0000 (UTC)
commit b3c6fdfc6b91198da99d435fc85c39d58e6dc347
Author: Milan Crha <mcrha redhat com>
Date: Thu Apr 1 15:25:16 2010 +0200
Bug #613354 - Folder->Mark all messages as read does not work
modules/mail/e-mail-shell-view-actions.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index 5b6f483..afe1629 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -216,6 +216,7 @@ action_mail_folder_mark_all_as_read_cb (GtkAction *action,
EShellView *shell_view;
CamelFolder *folder;
GtkWindow *parent;
+ MessageList *message_list;
GPtrArray *uids;
const gchar *key;
const gchar *prompt;
@@ -236,7 +237,10 @@ action_mail_folder_mark_all_as_read_cb (GtkAction *action,
if (!em_utils_prompt_user (parent, key, prompt, NULL))
return;
- uids = e_mail_reader_get_selected_uids (reader);
+ message_list = MESSAGE_LIST (e_mail_reader_get_message_list (reader));
+ g_return_if_fail (message_list != NULL);
+
+ uids = message_list_get_uids (message_list);
camel_folder_freeze (folder);
for (ii = 0; ii < uids->len; ii++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]