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/folder-browser-factory.c | |
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/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 30766c8aa9..fd236e5994 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -92,7 +92,7 @@ BonoboUIVerb verbs [] = { BONOBO_UI_UNSAFE_VERB ("MessageHideClear", hide_none), BONOBO_UI_UNSAFE_VERB ("MessageHideRead", hide_read), - BONOBO_UI_UNSAFE_VERB ("MessageHideDeleted", hide_deleted), + /*BONOBO_UI_UNSAFE_VERB ("MessageHideDeleted", hide_deleted),*/ BONOBO_UI_UNSAFE_VERB ("MessageHideSelected", hide_selected), /* Folder Menu */ @@ -121,7 +121,7 @@ static struct { { "/menu/Tools/Component/SetMailConfig", "16_configure_mail.xpm", NULL }, { "/menu/Edit/MessageDelete", "delete_message.xpm", NULL }, { "/menu/Edit/MessageUndelete", "undelete_message.xpm", NULL }, - { "/menu/View/MessageHideDeleted", "hide_deleted_messages.xpm", NULL }, + /*{ "/menu/View/MessageHideDeleted", "hide_deleted_messages.xpm", NULL },*/ { "/menu/View/MessageHideRead", "hide_read_messages.xpm", NULL }, { "/menu/View/MessageHideSelected", "hide_selected_messages.xpm", NULL }, { "/menu/View/MessageHideClear", "show_all_messages.xpm", NULL }, |