aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/component-factory.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-15 00:08:13 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-15 00:08:13 +0800
commitab1d2c34e6788db08755e68a9ae5c727668a0c06 (patch)
tree0cd93517af04f1474386a981c2dc093adb440d3d /calendar/gui/component-factory.c
parent81d12f283f41d8133d0bcfdc86a93186fa92d466 (diff)
downloadgsoc2013-evolution-ab1d2c34e6788db08755e68a9ae5c727668a0c06.tar
gsoc2013-evolution-ab1d2c34e6788db08755e68a9ae5c727668a0c06.tar.gz
gsoc2013-evolution-ab1d2c34e6788db08755e68a9ae5c727668a0c06.tar.bz2
gsoc2013-evolution-ab1d2c34e6788db08755e68a9ae5c727668a0c06.tar.lz
gsoc2013-evolution-ab1d2c34e6788db08755e68a9ae5c727668a0c06.tar.xz
gsoc2013-evolution-ab1d2c34e6788db08755e68a9ae5c727668a0c06.tar.zst
gsoc2013-evolution-ab1d2c34e6788db08755e68a9ae5c727668a0c06.zip
Handle an array of categories in the CalSearchBar instead of our own menu
2001-08-14 Federico Mena Quintero <federico@ximian.com> * 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
Diffstat (limited to 'calendar/gui/component-factory.c')
-rw-r--r--calendar/gui/component-factory.c3
1 files changed, 2 insertions, 1 deletions
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);
}