aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 933382d4e1..b15d1e1de1 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1387,6 +1387,7 @@ emfv_mail_next_unread(BonoboUIComponent *uid, void *data, const char *path)
{
EMFolderView *emfv = data;
+ gtk_widget_grab_focus((GtkWidget *) emfv->list);
message_list_select(emfv->list, MESSAGE_LIST_SELECT_NEXT|MESSAGE_LIST_SELECT_WRAP, 0, CAMEL_MESSAGE_SEEN);
}
@@ -1419,6 +1420,7 @@ emfv_mail_previous_unread(BonoboUIComponent *uid, void *data, const char *path)
{
EMFolderView *emfv = data;
+ gtk_widget_grab_focus((GtkWidget *) emfv->list);
message_list_select(emfv->list, MESSAGE_LIST_SELECT_PREVIOUS|MESSAGE_LIST_SELECT_WRAP, 0, CAMEL_MESSAGE_SEEN);
}