Re: [Evolution] Another Small patch



A small patch to enable evolution-mail to automatically go to the
next message when a single file is delete. Stupid option but useful
option I think

It used to do that, but some people thought it was weird, so we made
it only do that if you used the keyboard shortcut ("Delete").

+     row = e_table_get_cursor_row (e_table);
+
+     if (row > 0)
+             e_table_set_cursor_row (e_table, row+1);

This isn't quite right, because it's dealing with model row numbers
rather than view row numbers (meaning that if you use it on a sorted
message list, it will behave apparently randomly). You should use
message_list_select.

-- Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]