aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-05-26 01:43:31 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-05-26 01:43:31 +0800
commitff224ac819812b4ac9707083ebcd25889e6d7ec4 (patch)
treec3b8e7e82015ae4259dc27e0068d96c224cc7b8c /calendar/gui/calendar-component.c
parenta979df3778682adb6f90ef3477e62fc077a8e9b8 (diff)
downloadgsoc2013-evolution-ff224ac819812b4ac9707083ebcd25889e6d7ec4.tar
gsoc2013-evolution-ff224ac819812b4ac9707083ebcd25889e6d7ec4.tar.gz
gsoc2013-evolution-ff224ac819812b4ac9707083ebcd25889e6d7ec4.tar.bz2
gsoc2013-evolution-ff224ac819812b4ac9707083ebcd25889e6d7ec4.tar.lz
gsoc2013-evolution-ff224ac819812b4ac9707083ebcd25889e6d7ec4.tar.xz
gsoc2013-evolution-ff224ac819812b4ac9707083ebcd25889e6d7ec4.tar.zst
gsoc2013-evolution-ff224ac819812b4ac9707083ebcd25889e6d7ec4.zip
Do not initialize libglade twice.
2000-05-25 Federico Mena Quintero <federico@helixcode.com> * 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
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