diff options
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index ad524e373a..756974c832 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -3438,9 +3438,10 @@ message_list_get_uids(MessageList *ml) ml, g_ptr_array_new() }; - + e_tree_path_foreach(ml->tree, ml_getselected_cb, &data); - + camel_folder_sort_uids (ml->folder, data.uids); + return data.uids; } @@ -3451,9 +3452,10 @@ message_list_get_selected(MessageList *ml) ml, g_ptr_array_new() }; - + e_tree_selected_path_foreach(ml->tree, ml_getselected_cb, &data); - + camel_folder_sort_uids (ml->folder, data.uids); + return data.uids; } |