diff options
author | Not Zed <NotZed@Ximian.com> | 2001-03-29 13:34:26 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-03-29 13:34:26 +0800 |
commit | 1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2 (patch) | |
tree | 34f294fd27463ff469da71b5d8fa40d1fc640d05 /mail/message-list.h | |
parent | bf26d9680943bed494198dedca203b5ed6c9dcbd (diff) | |
download | gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.tar.gz gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.tar.zst gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.zip |
Create a vtrash folder, not a vee folder.
2001-03-29 Not Zed <NotZed@Ximian.com>
* mail-local.c (init_trash): Create a vtrash folder, not a vee folder.
* folder-browser-factory.c (control_activate): Hook in the hide
deleted thingy.
Removed MessageHideDeleted menu stuff.
* message-list.c (message_list_set_hidedeleted): New function, to
set if we should hide deleted messages automatically/always.
(regen_list_regen): If we have hide deleted messages turned on,
then hide them.
(main_message_changed): Promote to a folder_changed event with a
change list, folder_changed has the optimisations to handle this
appropriately.
(main_folder_changed): IF we get changes events for
deleted/undeleted stuff, change to added/removed events, rebuild
if necessary.
(message_list_set_folder): Setup the default hidedeleted state to
be to hide everything unless it is in a vtrash folder.
svn path=/trunk/; revision=9009
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 46739ee519..7d7e6b283b 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -68,6 +68,8 @@ struct _MessageList { /* Are we displaying threaded view? */ gboolean threaded; + /* do we automatically hide deleted messages? */ + gboolean hidedeleted; /* Where the ETree cursor is. */ int cursor_row; @@ -119,6 +121,7 @@ void message_list_hide_uids(MessageList *ml, GPtrArray *uids); void message_list_hide_clear(MessageList *ml); void message_list_set_threaded(MessageList *ml, gboolean threaded); +void message_list_set_hidedeleted(MessageList *ml, gboolean hidedeleted); void message_list_set_search(MessageList *ml, const char *search); char *message_list_get_layout (MessageList *message_list); |