aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2004-07-05 20:01:35 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-07-05 20:01:35 +0800
commit44ede0596eeb155117703e54c7a3a5b2c891bced (patch)
treed99c1c0a789e2c187524a309e64aec3be899fa51 /calendar/gui
parent19b6210344fb2f3b83df23b16f328f888484a766 (diff)
downloadgsoc2013-evolution-44ede0596eeb155117703e54c7a3a5b2c891bced.tar
gsoc2013-evolution-44ede0596eeb155117703e54c7a3a5b2c891bced.tar.gz
gsoc2013-evolution-44ede0596eeb155117703e54c7a3a5b2c891bced.tar.bz2
gsoc2013-evolution-44ede0596eeb155117703e54c7a3a5b2c891bced.tar.lz
gsoc2013-evolution-44ede0596eeb155117703e54c7a3a5b2c891bced.tar.xz
gsoc2013-evolution-44ede0596eeb155117703e54c7a3a5b2c891bced.tar.zst
gsoc2013-evolution-44ede0596eeb155117703e54c7a3a5b2c891bced.zip
update the internal current_view_type field and focus the newly selected
2004-07-02 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (set_view): update the internal current_view_type field and focus the newly selected view. svn path=/trunk/; revision=26582
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 b65437a045..0a1a0c8478 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1670,8 +1670,10 @@ set_view (GnomeCalendar *gcal, GnomeCalendarViewType view_type, gboolean range_s
}
priv->range_selected = range_selected;
+ priv->current_view_type = view_type;
gal_view_instance_set_current_view_id (priv->view_instance, view_id);
+ focus_current_view (gcal);
}