From 7d42ed47286e7456068937dfb24335fe4bb9f74a Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 17 May 2002 14:54:31 +0000 Subject: set the view to the current view 2002-05-17 JP Rosevear * gui/gnome-cal.c (gnome_calendar_setup_view_menus): set the view to the current view svn path=/trunk/; revision=16939 --- calendar/ChangeLog | 5 +++++ calendar/gui/gnome-cal.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 2a454061db..543c1cda0b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2002-05-17 JP Rosevear + + * gui/gnome-cal.c (gnome_calendar_setup_view_menus): set the view + to the current view + 2002-05-16 Rodrigo Moya * gui/gnome-cal.c (client_cal_opened_cb): added support for diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 0b83d18392..848902fa04 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1414,6 +1414,8 @@ gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic) priv->view_menus = gal_view_menus_new (priv->view_instance); gal_view_menus_apply (priv->view_menus, uic, NULL); + gnome_calendar_set_view (gcal, priv->current_view_type, TRUE, FALSE); + gtk_signal_connect (GTK_OBJECT (priv->view_instance), "display_view", GTK_SIGNAL_FUNC (display_view_cb), gcal); display_view_cb (priv->view_instance, gal_view_instance_get_current_view (priv->view_instance), gcal); -- cgit