aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-18 01:00:31 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-18 01:00:31 +0800
commit0e572dcbe55f695ecbf05dccc5b525211e9a14b5 (patch)
treeb9b8b9e70921124d3ace72577a50de19c3749f09 /mail/em-folder-browser.c
parent671c73fac1d9a0101a2e83a8667945139287cd7e (diff)
downloadgsoc2013-evolution-0e572dcbe55f695ecbf05dccc5b525211e9a14b5.tar.gz
gsoc2013-evolution-0e572dcbe55f695ecbf05dccc5b525211e9a14b5.tar.zst
gsoc2013-evolution-0e572dcbe55f695ecbf05dccc5b525211e9a14b5.zip
Set the hide_deleted bool on EMFolderView.
2004-02-17 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c4
1 files changed, 3 insertions, 1 deletions
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