aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog12
-rw-r--r--mail/em-folder-view.c2
2 files changed, 14 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 51dc7aa1ca..2faf3f990a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,15 @@
+2007-02-26 Sankar P <psankar@novell.com>
+
+ * Committed on behalf of
+ Raghavendran R <raghavguru7@gmail.com>
+
+ * Fixes #256382
+
+ * em-folder-view.c: (emfv_mail_next_unread),
+ (emfv_mail_previous_unread):
+ Mail grabs the focus when keyboard-shortcut
+ to move to next (un)read mail is used.
+
2007-02-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #356177
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);
}