diff options
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/em-folder-browser.c | 13 |
2 files changed, 5 insertions, 11 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index c4d617d6e2..e3dcc02d70 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 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. + * em-format-html.c (efh_format_header): Fixed a bug where txt wasn't being properly initialised in all cases for Date headers. Also fixed the x-evolution-mailer code to simply use the 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); |