From 48d410e065585a2e6bba4ecc59fad68ca2935ab8 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 11 Mar 2004 20:29:57 +0000 Subject: Reverted signal blocking stuff. Doesn't work and is unneeded with the 2004-03-11 Jeffrey Stedfast * 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 --- mail/em-folder-browser.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'mail/em-folder-browser.c') 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); -- cgit