aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/cal-search-bar.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-29 11:15:54 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-29 11:15:54 +0800
commitf6ee20d9097f3ba7bce189f3015e65721d328122 (patch)
tree11b2b4202964d1bc6256a089de5ee4c31aff0e2e /calendar/gui/cal-search-bar.c
parent572e5648458cab1d530f1cb219efafc853030ba0 (diff)
downloadgsoc2013-evolution-f6ee20d9097f3ba7bce189f3015e65721d328122.tar.gz
gsoc2013-evolution-f6ee20d9097f3ba7bce189f3015e65721d328122.tar.zst
gsoc2013-evolution-f6ee20d9097f3ba7bce189f3015e65721d328122.zip
Fixes bug #7879, a query may receive an update notification from the
2001-08-28 Federico Mena Quintero <federico@ximian.com> Fixes bug #7879, a query may receive an update notification from the backend before the query itself gets populated. * pcs/query.c (ensure_sexp): New function; ensures that the esexp is created and notifies of parse errors. It is the bulk of start_query_cb() but put in a separate function so that we can share it elsewhere. (start_query_cb): Use ensure_sexp(). (process_component_cb): Oops, notify of a successfully finished query. (match_component): Call ensure_sexp(). This function can be called by the backend notification callbacks before the query is populated, so we need to make sure the esexp exists here. svn path=/trunk/; revision=12509
Diffstat (limited to 'calendar/gui/cal-search-bar.c')
-rw-r--r--calendar/gui/cal-search-bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/cal-search-bar.c b/calendar/gui/cal-search-bar.c
index e35ba63181..cca017ee8d 100644
--- a/calendar/gui/cal-search-bar.c
+++ b/calendar/gui/cal-search-bar.c
@@ -467,6 +467,8 @@ cal_search_bar_construct (CalSearchBar *cal_search)
e_search_bar_construct (E_SEARCH_BAR (cal_search), search_menu_items, search_option_items);
make_suboptions (cal_search);
+ e_search_bar_set_ids (E_SEARCH_BAR (cal_search), SEARCH_CATEGORY_IS, CATEGORIES_ALL);
+
return cal_search;
}