diff options
author | Jason Leach <jleach@ximian.com> | 2001-07-07 02:02:01 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-07-07 02:02:01 +0800 |
commit | 5616de530929df0c96ab36a8b09b9044f5c34023 (patch) | |
tree | 767a671180d554f224f437aa6ad995a0e7f9e04d /mail/mail-callbacks.c | |
parent | d78749b52160b46f3409963372113c786c0088e7 (diff) | |
download | gsoc2013-evolution-5616de530929df0c96ab36a8b09b9044f5c34023.tar.gz gsoc2013-evolution-5616de530929df0c96ab36a8b09b9044f5c34023.tar.zst gsoc2013-evolution-5616de530929df0c96ab36a8b09b9044f5c34023.zip |
Select the very next message after deleting, not the next undeleted (it
2001-07-06 Jason Leach <jleach@ximian.com>
* mail-callbacks.c (delete_msg): Select the very next message
after deleting, not the next undeleted (it can make things jump
around in annoying ways if you are deleting many messages), bug #4032.
* folder-browser.c: Forgot to commit the "Mark as Important" right
click menu item.
* message-list.c (message_list_set_folder): Setup the strikeout
column here (after we've gotten the folder) so we can disable
strikeouts for vtrash folders, part of bug #2224.
svn path=/trunk/; revision=10849
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 112221df77..34ea9e4560 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1533,11 +1533,13 @@ delete_msg (GtkWidget *button, gpointer user_data) deleted = flag_messages (fb, CAMEL_MESSAGE_DELETED | CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_DELETED | CAMEL_MESSAGE_SEEN); + + /* Select the next message if we are only deleting one message */ if (deleted == 1) { row = e_tree_row_of_node (fb->message_list->tree, e_tree_get_cursor (fb->message_list->tree)); message_list_select (fb->message_list, row, MESSAGE_LIST_SELECT_NEXT, - 0, CAMEL_MESSAGE_DELETED); + 0, 0); } } |