From 841fa6274b1390bde05a8327ee026cf91666852f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 1 Apr 2010 15:26:10 +0200 Subject: Bug #613354 - Folder->Mark all messages as read does not work --- modules/mail/e-mail-shell-view-actions.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/mail/e-mail-shell-view-actions.c') diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index b3d19fc172..732b65060f 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++) -- cgit v1.2.3 From e9ea8a567cc85027ef7dcef7ba3ad03044677793 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 22 Apr 2010 18:28:17 -0400 Subject: Work around another dropped gnome-icon-theme icon. mail-mark-notjunk -> mail-mark-not-junk --- modules/mail/e-mail-shell-view-actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mail/e-mail-shell-view-actions.c') diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index 732b65060f..efd3f64d02 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -1223,7 +1223,7 @@ static GtkRadioActionEntry mail_filter_entries[] = { MAIL_FILTER_LAST_5_DAYS_MESSAGES }, { "mail-filter-messages-not-junk", - "mail-mark-notjunk", + "mail-mark-not-junk", N_("Messages Not Junk"), NULL, NULL, /* XXX Add a tooltip! */ -- cgit v1.2.3 From 43e2c871a418b560b391af00df2b10896055026c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 22 Apr 2010 18:28:17 -0400 Subject: Work around another dropped gnome-icon-theme icon. mail-mark-notjunk -> mail-mark-not-junk --- modules/mail/e-mail-shell-view-actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mail/e-mail-shell-view-actions.c') diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index 732b65060f..efd3f64d02 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -1223,7 +1223,7 @@ static GtkRadioActionEntry mail_filter_entries[] = { MAIL_FILTER_LAST_5_DAYS_MESSAGES }, { "mail-filter-messages-not-junk", - "mail-mark-notjunk", + "mail-mark-not-junk", N_("Messages Not Junk"), NULL, NULL, /* XXX Add a tooltip! */ -- cgit v1.2.3 From be8c081a728fe8a1e97e615f443dccb5f824b19f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 29 Apr 2010 21:08:09 -0400 Subject: Revert "Work around another dropped gnome-icon-theme icon." This reverts commit edf6286a38279e6db82dee4da50e94c587f06e02. gnome-icon-theme got it wrong, not us. See bug #616954. --- modules/mail/e-mail-shell-view-actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mail/e-mail-shell-view-actions.c') diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index efd3f64d02..732b65060f 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -1223,7 +1223,7 @@ static GtkRadioActionEntry mail_filter_entries[] = { MAIL_FILTER_LAST_5_DAYS_MESSAGES }, { "mail-filter-messages-not-junk", - "mail-mark-not-junk", + "mail-mark-notjunk", N_("Messages Not Junk"), NULL, NULL, /* XXX Add a tooltip! */ -- cgit v1.2.3 From 9638b78a83918ddb54afc15580f01a3fce17c0fd Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 11 May 2010 21:44:42 -0500 Subject: Bug 618400 - "Mark All Messages as Read" shortcut missing --- modules/mail/e-mail-shell-view-actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mail/e-mail-shell-view-actions.c') diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index 732b65060f..e92800c660 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -913,7 +913,7 @@ static GtkActionEntry mail_entries[] = { { "mail-folder-mark-all-as-read", "mail-read", N_("Mar_k All Messages as Read"), - NULL, + "slash", N_("Mark all messages in the folder as read"), G_CALLBACK (action_mail_folder_mark_all_as_read_cb) }, -- cgit v1.2.3