aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-09-13 14:09:32 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-09-13 14:09:32 +0800
commit50f0cd281ee018e11e0d71d2505158a7d587d59a (patch)
tree27fca603d9adb1f024d1d58149468436ec261e99
parent02e1dbdd5f708ced0e5233d16737eb693f76d887 (diff)
downloadgsoc2013-evolution-50f0cd281ee018e11e0d71d2505158a7d587d59a.tar.gz
gsoc2013-evolution-50f0cd281ee018e11e0d71d2505158a7d587d59a.tar.zst
gsoc2013-evolution-50f0cd281ee018e11e0d71d2505158a7d587d59a.zip
Fix for bug #355294
svn path=/trunk/; revision=32762
-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