From 5686e80ba22b8a93a7898a4063429c81aab9d6f1 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 6 Mar 2006 07:20:00 +0000 Subject: Fixes #329353 svn path=/trunk/; revision=31651 --- calendar/gui/gnome-cal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 6815787cfc..06de9fe6d9 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -3096,7 +3096,7 @@ gnome_calendar_on_date_navigator_selection_changed (ECalendarItem *calitem, Gnom /* FIXME Gross hack so that the view times are updated properly */ priv->range_selected = TRUE; - if (priv->current_view_type == GNOME_CAL_MONTH_VIEW) { + if (priv->current_view_type != GNOME_CAL_LIST_VIEW) { e_week_view_set_weeks_shown (E_WEEK_VIEW (priv->month_view), (new_days_shown + 6) / 7); view_type = GNOME_CAL_MONTH_VIEW; -- cgit v1.2.3