diff options
author | Milan Crha <mcrha@redhat.com> | 2008-06-16 17:23:32 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-06-16 17:23:32 +0800 |
commit | b7155af74b4c0d3d1c7811ffb12056d17a9e6604 (patch) | |
tree | 903ee79e328e0a7e2d7f2282d4e1627d02823ba8 /mail/message-list.h | |
parent | fe835e14c2815d4d174229cdb08c2385f6167cd7 (diff) | |
download | gsoc2013-evolution-b7155af74b4c0d3d1c7811ffb12056d17a9e6604.tar.gz gsoc2013-evolution-b7155af74b4c0d3d1c7811ffb12056d17a9e6604.tar.zst gsoc2013-evolution-b7155af74b4c0d3d1c7811ffb12056d17a9e6604.zip |
** Fix for bug #467892
2008-06-16 Milan Crha <mcrha@redhat.com>
** Fix for bug #467892
* message-list.h: (struct _MessageList), (message_list_ensure_message):
* message-list.c: (message_list_init), (message_list_finalise),
(message_list_ensure_message), (regen_list_exec), (regen_list_done):
Be able to set a message uid to keep in a list after regeneration.
* em-folder-view.c: (em_folder_view_open_selected):
Inherit search criteria and ensure keeping the selected message
in the view even it may not belong to the filter anymore.
svn path=/trunk/; revision=35640
Diffstat (limited to 'mail/message-list.h')
-rw-r--r-- | mail/message-list.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/message-list.h b/mail/message-list.h index 61f3264d41..0f8758895d 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -113,6 +113,10 @@ struct _MessageList { /* Current search string, or %NULL */ char *search; + /* which message uid should be left in the list even not in a search after rebuild; + rebuild will clear the value to NULL */ + char *ensure_uid; + /* are we regenerating the message_list because set_folder was just called? */ guint just_set_folder : 1; @@ -220,6 +224,7 @@ void message_list_set_threaded_collapse_all (MessageList *ml); void message_list_set_hidedeleted (MessageList *ml, gboolean hidedeleted); void message_list_set_search (MessageList *ml, const char *search); +void message_list_ensure_message (MessageList *ml, const char *uid); void message_list_save_state (MessageList *ml); |