aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c10
1 files changed, 6 insertions, 4 deletions
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 <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