aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-12 04:29:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-12 04:29:57 +0800
commit48d410e065585a2e6bba4ecc59fad68ca2935ab8 (patch)
treef388f7cb7cbed5f4678b196b9a321759b8ec7c4d /mail/em-folder-browser.c
parentd3cb3f90f09f281c3c0e337e4570cf82c3e61e57 (diff)
downloadgsoc2013-evolution-48d410e065585a2e6bba4ecc59fad68ca2935ab8.tar.gz
gsoc2013-evolution-48d410e065585a2e6bba4ecc59fad68ca2935ab8.tar.zst
gsoc2013-evolution-48d410e065585a2e6bba4ecc59fad68ca2935ab8.zip
Reverted signal blocking stuff. Doesn't work and is unneeded with the
2004-03-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Reverted signal blocking stuff. Doesn't work and is unneeded with the proper fix. svn path=/trunk/; revision=25034
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index f49d0c0a00..4711787565 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -946,20 +946,11 @@ emfb_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri)
message_list_set_threaded(emfv->list, state);
if (emfv->uic)
bonobo_ui_component_set_prop(emfv->uic, "/commands/ViewThreaded", "state", state?"1":"0", NULL);
-
- /* gross, but effective? */
- g_signal_handler_block(emfb->search, p->search_menu_activated_id);
- g_signal_handler_block(emfb->search, p->search_activated_id);
- g_signal_handler_block(emfb->search, p->search_query_changed_id);
-
+
sstate = camel_object_meta_get(folder, "evolution:search_state");
g_object_set(emfb->search, "state", sstate, NULL);
g_free(sstate);
-
- g_signal_handler_unblock(emfb->search, p->search_menu_activated_id);
- g_signal_handler_unblock(emfb->search, p->search_activated_id);
- g_signal_handler_unblock(emfb->search, p->search_query_changed_id);
-
+
/* set the query manually, so we dont pop up advanced or saved search stuff */
g_object_get(emfb->search, "query", &sstate, NULL);
message_list_set_search(emfb->view.list, sstate);