aboutsummaryrefslogtreecommitdiffstats
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
parentd3cb3f90f09f281c3c0e337e4570cf82c3e61e57 (diff)
downloadgsoc2013-evolution-48d410e065585a2e6bba4ecc59fad68ca2935ab8.tar
gsoc2013-evolution-48d410e065585a2e6bba4ecc59fad68ca2935ab8.tar.gz
gsoc2013-evolution-48d410e065585a2e6bba4ecc59fad68ca2935ab8.tar.bz2
gsoc2013-evolution-48d410e065585a2e6bba4ecc59fad68ca2935ab8.tar.lz
gsoc2013-evolution-48d410e065585a2e6bba4ecc59fad68ca2935ab8.tar.xz
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
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/em-folder-browser.c13
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);