diff options
Diffstat (limited to 'mail/message-list.h')
-rw-r--r-- | mail/message-list.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/message-list.h b/mail/message-list.h index 5d88d28692..8c47a12ab2 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -119,7 +119,10 @@ struct _MessageList { /* is the message-list object in a destroyed state? */ guint destroyed : 1; - + + /* frozen count */ + guint frozen:16; + /* Where the ETree cursor is. */ int cursor_row; char *cursor_uid; @@ -134,6 +137,8 @@ struct _MessageList { GList *regen; char *pending_select_uid; /* set if we were busy regnerating while we had a select come in */ + char *frozen_search; /* to save search took place while we were frozen */ + /* the current camel folder thread tree, if any */ struct _CamelFolderThread *thread_tree; @@ -166,6 +171,9 @@ void message_list_foreach (MessageList *message_list, MessageListForeachFunc callback, gpointer user_data); +void message_list_freeze(MessageList *ml); +void message_list_thaw(MessageList *ml); + GPtrArray *message_list_get_selected(MessageList *ml); void message_list_free_uids(MessageList *ml, GPtrArray *uids); |