diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-05-04 02:59:05 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-05-04 02:59:05 +0800 |
commit | 77c5ed36148a3a83099ecc17bf48ad8d5068773a (patch) | |
tree | a1fe17dd8df81c4ef0e01ecba475e8f28a76a720 /mail/message-list.h | |
parent | 697c34cf89935ae92ab52a61f2db9730092144f2 (diff) | |
download | gsoc2013-evolution-77c5ed36148a3a83099ecc17bf48ad8d5068773a.tar.gz gsoc2013-evolution-77c5ed36148a3a83099ecc17bf48ad8d5068773a.tar.zst gsoc2013-evolution-77c5ed36148a3a83099ecc17bf48ad8d5068773a.zip |
Fix for bug #57968
2004-05-03 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #57968
* message-list.c (message_list_set_folder): Save the tree/hide
state of the current folder before clearing the message-list.
(message_list_set_folder): Note that a new folder has just been
set (now needed by the regen code to tell whether or not it should
save the tree state before clearing the tree).
(message_list_destroy): Save the tree/hide state before destroying
the message-info's, not after.
(regen_list_regened): If the regen is being performed in response
to a message_list_set_folder, don't save the tree state before
clearing the tree or we'll clobber the real state with bogus data.
svn path=/trunk/; revision=25767
Diffstat (limited to 'mail/message-list.h')
-rw-r--r-- | mail/message-list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/message-list.h b/mail/message-list.h index 7a7ccfa78a..c4fed0537b 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -108,6 +108,9 @@ struct _MessageList { /* Current search string, or %NULL */ char *search; + /* are we regenerating the message_list because set_folder was just called? */ + guint just_set_folder : 1; + /* Are we displaying threaded view? */ guint threaded : 1; |