aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-folder-view.c9
2 files changed, 7 insertions, 8 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b68c692de3..a7015b7c46 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-13 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #355294
+
+ * em-folder-view.c: (emfv_popup_delete): Set the cursor on delete.
+
2006-09-09 Wouter Bolsterlee <uws+gnome@xs4all.nl>
* default/nl/Inbox: Dutch welcome message updated by
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index df16ba28e1..1350353c16 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -955,16 +955,9 @@ emfv_popup_delete(EPopup *ep, EPopupItem *pitem, void *data)
count = em_folder_view_mark_selected(emfv, CAMEL_MESSAGE_SEEN|CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_SEEN|CAMEL_MESSAGE_DELETED);
if (count == 1) {
- if (!emfv->list->threaded && !message_list_select (emfv->list, MESSAGE_LIST_SELECT_NEXT, 0, 0) && emfv->hide_deleted)
+ if (!message_list_select (emfv->list, MESSAGE_LIST_SELECT_NEXT, 0, 0) && emfv->hide_deleted)
message_list_select (emfv->list, MESSAGE_LIST_SELECT_PREVIOUS, 0, 0);
- else if (emfv->list->threaded) {
- if (emfv->hide_deleted)
- message_list_select_uid (emfv->list, "");
- else
- message_list_select (emfv->list, MESSAGE_LIST_SELECT_NEXT, 0, 0);
- }
}
-
}
static void