From ab1d2c34e6788db08755e68a9ae5c727668a0c06 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 14 Aug 2001 16:08:13 +0000 Subject: Handle an array of categories in the CalSearchBar instead of our own menu 2001-08-14 Federico Mena Quintero * gui/cal-search-bar.c (get_current_category): Handle an array of categories in the CalSearchBar instead of our own menu items. (notify_query_contains): Fetch the text from the search bar here instead of in regen_query(). (regen_query): Handle category searches. (notify_category_is): New function. (cal_search_bar_construct): Do not create an option menu. (make_suboptions): New function to create the suboption items from the list of categories. (notify_query_contains): Do not include a category sexp here. svn path=/trunk/; revision=12016 --- calendar/gui/component-factory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/component-factory.c') diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c index 4b47fe697d..d3c5e1d513 100644 --- a/calendar/gui/component-factory.c +++ b/calendar/gui/component-factory.c @@ -41,6 +41,7 @@ +/* OAFIID for the component factory */ #define COMPONENT_FACTORY_ID "OAFIID:GNOME_Evolution_Calendar_ShellComponentFactory" static BonoboGenericFactory *factory = NULL; @@ -379,7 +380,7 @@ factory_fn (BonoboGenericFactory *factory, shells = g_list_append (shells, shell_component); #endif - + return BONOBO_OBJECT (shell_component); } -- cgit v1.2.3