aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-06 01:49:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-06 01:49:12 +0800
commitbfc4088a520e499a2b202b7d761fd609ce2b5b7e (patch)
treeeca46d30887e32843ac0e247107f852fc532b9ab /mail/em-folder-browser.c
parentff05517338da8f6ab7c219b2810c616c78848d2a (diff)
downloadgsoc2013-evolution-bfc4088a520e499a2b202b7d761fd609ce2b5b7e.tar.gz
gsoc2013-evolution-bfc4088a520e499a2b202b7d761fd609ce2b5b7e.tar.zst
gsoc2013-evolution-bfc4088a520e499a2b202b7d761fd609ce2b5b7e.zip
Always set the search_state, even if it is NULL (NULL means default/unset
2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Always set the search_state, even if it is NULL (NULL means default/unset state). svn path=/trunk/; revision=24634
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index dad3f651cd..745c44fa17 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -922,10 +922,9 @@ emfb_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri)
g_free (sstate);
}
- if ((sstate = camel_object_meta_get (folder, "evolution:search_state"))) {
- g_object_set (emfb->search, "state", sstate, NULL);
- g_free (sstate);
- }
+ sstate = camel_object_meta_get (folder, "evolution:search_state");
+ g_object_set (emfb->search, "state", sstate, NULL);
+ g_free (sstate);
if ((sstate = camel_object_meta_get (folder, "evolution:selected_uid")))
emfb->priv->select_uid = sstate;