aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-20 17:14:19 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-20 17:15:43 +0800
commit92e6052e56b0e81e9718bdd665ada8356f90dbc1 (patch)
treeff8406aec5476fa88d06bac55b7eaa374cbf65de /mail/e-mail-reader.c
parentbc8ab2a93b61faef7ba1285dd602a353e812bc68 (diff)
downloadgsoc2013-evolution-92e6052e56b0e81e9718bdd665ada8356f90dbc1.tar.gz
gsoc2013-evolution-92e6052e56b0e81e9718bdd665ada8356f90dbc1.tar.zst
gsoc2013-evolution-92e6052e56b0e81e9718bdd665ada8356f90dbc1.zip
Bug #630969 - Implement also Message->Go to->Previous Thread
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index a45301f3fe..dedacb8451 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -1058,6 +1058,17 @@ action_mail_previous_important_cb (GtkAction *action,
}
static void
+action_mail_previous_thread_cb (GtkAction *action,
+ EMailReader *reader)
+{
+ GtkWidget *message_list;
+
+ message_list = e_mail_reader_get_message_list (reader);
+
+ message_list_select_prev_thread (MESSAGE_LIST (message_list));
+}
+
+static void
action_mail_previous_unread_cb (GtkAction *action,
EMailReader *reader)
{
@@ -2036,6 +2047,13 @@ static GtkActionEntry mail_reader_entries[] = {
N_("Display the previous important message"),
G_CALLBACK (action_mail_previous_important_cb) },
+ { "mail-previous-thread",
+ NULL,
+ N_("Previous T_hread"),
+ NULL,
+ N_("Display the previous thread"),
+ G_CALLBACK (action_mail_previous_thread_cb) },
+
{ "mail-previous-unread",
NULL,
N_("P_revious Unread Message"),