From ff224ac819812b4ac9707083ebcd25889e6d7ec4 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 25 May 2000 17:43:31 +0000 Subject: Do not initialize libglade twice. 2000-05-25 Federico Mena Quintero * gui/main.c (init_bonobo): Do not initialize libglade twice. * gui/component-factory.c (create_view): Set the folder_uri property, otherwise the calendar will not get loaded into the view. svn path=/trunk/; revision=3203 --- calendar/gui/calendar-component.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'calendar/gui/calendar-component.c') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index ffc8055609..1509f70457 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -26,10 +26,9 @@ #endif #include - #include "evolution-shell-component.h" - #include "component-factory.h" +#include "control-factory.h" #ifdef USING_OAF @@ -53,9 +52,12 @@ create_view (EvolutionShellComponent *shell_component, const char *physical_uri, void *closure) { - /* FIXME: The calendar has no way to specify the physical URI. */ + BonoboControl *control; + + control = control_factory_new_control (); + bonobo_control_set_property (control, "folder_uri", physical_uri, NULL); - return control_factory_new_control (); + return control; } static void -- cgit v1.2.3