aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/evolution-calendar-control.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-09 04:21:31 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-09 04:21:31 +0800
commit181e276c46263a695457f4c250c917560d6e1596 (patch)
tree723f398a2812c049fe0ce078b8e9b7efad4113de /calendar/gui/evolution-calendar-control.c
parent4c1b64ea55dc20faa79c79f85fb53d04d956315b (diff)
downloadgsoc2013-evolution-181e276c46263a695457f4c250c917560d6e1596.tar
gsoc2013-evolution-181e276c46263a695457f4c250c917560d6e1596.tar.gz
gsoc2013-evolution-181e276c46263a695457f4c250c917560d6e1596.tar.bz2
gsoc2013-evolution-181e276c46263a695457f4c250c917560d6e1596.tar.lz
gsoc2013-evolution-181e276c46263a695457f4c250c917560d6e1596.tar.xz
gsoc2013-evolution-181e276c46263a695457f4c250c917560d6e1596.tar.zst
gsoc2013-evolution-181e276c46263a695457f4c250c917560d6e1596.zip
new function: friendly wrapper for cal_client_create_calendar
* gui/gnome-cal.c (gnome_calendar_create): new function: friendly wrapper for cal_client_create_calendar * gui/calendar-commands.c (new_calendar): call gnome_calendar_create if no filename is provided * gui/prop.c (properties): calendar is a frame * gui/calendar-commands.c (calendar_control_activate): sort out the menus a bit, more of them show up now. * gui/Makefile.am: don't build library or test, just the bonobo control * gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead of a window, now. * gui/gnome-cal.c (gnome_calendar_new): same * gui/goto.c (goto_dialog): same svn path=/trunk/; revision=2339
Diffstat (limited to 'calendar/gui/evolution-calendar-control.c')
-rw-r--r--calendar/gui/evolution-calendar-control.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/evolution-calendar-control.c b/calendar/gui/evolution-calendar-control.c
index 028a3bc1c5..cba1180cf4 100644
--- a/calendar/gui/evolution-calendar-control.c
+++ b/calendar/gui/evolution-calendar-control.c
@@ -37,7 +37,9 @@ calendar_factory (BonoboGenericFactory *Factory, void *closure)
BonoboControl *control;
/* Create the control. */
- GnomeCalendar *cal = new_calendar ("title", NULL, NULL, NULL, 0);
+ GnomeCalendar *cal = new_calendar (full_name,
+ user_calendar_file,
+ NULL, NULL, 0);
gtk_widget_show (GTK_WIDGET (cal));
control = bonobo_control_new (GTK_WIDGET (cal));
@@ -86,6 +88,8 @@ main (int argc, char **argv)
alarm_init ();
init_calendar ();
+ /*g_log_set_always_fatal ((GLogLevelFlags) 0xFFFF);*/
+
CORBA_exception_init (&ev);
init_bonobo (argc, argv);