aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-11 00:16:06 +0800
committerDan Winship <danw@src.gnome.org>2001-05-11 00:16:06 +0800
commitdd04e750f24f2e0300bc45e4916dddf6d492024c (patch)
treeac6f49d91f1e4a00b0c3893bbbce742f82d1a550 /mail/folder-browser.c
parentc414a3739a0ff56590b093c64ff27122949c5ee3 (diff)
downloadgsoc2013-evolution-dd04e750f24f2e0300bc45e4916dddf6d492024c.tar.gz
gsoc2013-evolution-dd04e750f24f2e0300bc45e4916dddf6d492024c.tar.zst
gsoc2013-evolution-dd04e750f24f2e0300bc45e4916dddf6d492024c.zip
Don't advance to the next undeleted message after "Delete"...
* folder-browser.c (on_key_press): Don't advance to the next undeleted message after "Delete"... * mail-callbacks.c (delete_msg): ...instead, do it here, whether the user used Delete, Alt+D, or the toolbar. (But only if they only deleted a single message.) * message-list.c (message_list_select): Don't clear the display on failure. (build_tree): Clear the display when the currently-selected message stops existing and we don't have an obvious message to select instead of it. (Eg, when deleting the last message with "hide deleted messages" set, or expunging while a deleted message is selected.) svn path=/trunk/; revision=9744
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index c070dd2072..09da831955 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -839,9 +839,6 @@ on_key_press (GtkWidget *widget, GdkEventKey *key, gpointer data)
case GDK_Delete:
case GDK_KP_Delete:
delete_msg (NULL, fb);
- message_list_select (fb->message_list, row,
- MESSAGE_LIST_SELECT_NEXT,
- 0, CAMEL_MESSAGE_DELETED);
return TRUE;
case 'n':