aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/component-factory.c')
-rw-r--r--calendar/gui/component-factory.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c
index ffc8055609..1509f70457 100644
--- a/calendar/gui/component-factory.c
+++ b/calendar/gui/component-factory.c
@@ -26,10 +26,9 @@
#endif
#include <bonobo.h>
-
#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