aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-05-17 22:54:31 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-05-17 22:54:31 +0800
commit7d42ed47286e7456068937dfb24335fe4bb9f74a (patch)
treeacc7648d806b7923b12d5389c4fb7ab41e700cf4 /calendar/gui
parent3cedfae4c21b3e2cdd53a74208f38c0e9885055f (diff)
downloadgsoc2013-evolution-7d42ed47286e7456068937dfb24335fe4bb9f74a.tar
gsoc2013-evolution-7d42ed47286e7456068937dfb24335fe4bb9f74a.tar.gz
gsoc2013-evolution-7d42ed47286e7456068937dfb24335fe4bb9f74a.tar.bz2
gsoc2013-evolution-7d42ed47286e7456068937dfb24335fe4bb9f74a.tar.lz
gsoc2013-evolution-7d42ed47286e7456068937dfb24335fe4bb9f74a.tar.xz
gsoc2013-evolution-7d42ed47286e7456068937dfb24335fe4bb9f74a.tar.zst
gsoc2013-evolution-7d42ed47286e7456068937dfb24335fe4bb9f74a.zip
set the view to the current view
2002-05-17 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_menus): set the view to the current view svn path=/trunk/; revision=16939
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gnome-cal.c2
1 files changed, 2 insertions, 0 deletions
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);