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
This commit is contained in:
@ -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':
|
||||
|
Reference in New Issue
Block a user