From 0e572dcbe55f695ecbf05dccc5b525211e9a14b5 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 17 Feb 2004 17:00:31 +0000 Subject: Set the hide_deleted bool on EMFolderView. 2004-02-17 Jeffrey Stedfast * em-folder-browser.c (emfb_hide_deleted): Set the hide_deleted bool on EMFolderView. * em-folder-view.c (emfv_popup_delete): Fix Sarfraaz Ahmed's fix to only jump to the previous message if hide_deleted is set. Otherwise his fix gets extremely irritating. (emfv_list_key_press): Same. svn path=/trunk/; revision=24762 --- mail/em-folder-browser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/em-folder-browser.c') diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 09d2a9b45e..2a17a3417c 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -733,8 +733,10 @@ emfb_hide_deleted(BonoboUIComponent *uic, const char *path, Bonobo_UIComponent_E gconf = mail_config_get_gconf_client (); gconf_client_set_bool(gconf, "/apps/evolution/mail/display/show_deleted", state[0] == '0', NULL); - if (!(emfv->folder && (emfv->folder->folder_flags & CAMEL_FOLDER_IS_TRASH))) + if (!(emfv->folder && (emfv->folder->folder_flags & CAMEL_FOLDER_IS_TRASH))) { message_list_set_hidedeleted(emfv->list, state[0] != '0'); + emfv->hide_deleted = state[0] != '0'; + } } static void -- cgit