aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-03-06 15:20:00 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-03-06 15:20:00 +0800
commit5686e80ba22b8a93a7898a4063429c81aab9d6f1 (patch)
treedd79c080ed1e66f1db093fdfe9dabbea705c579e /calendar
parent83c00f8e8dd410bbc75a55600bdfc312774f3e52 (diff)
downloadgsoc2013-evolution-5686e80ba22b8a93a7898a4063429c81aab9d6f1.tar.gz
gsoc2013-evolution-5686e80ba22b8a93a7898a4063429c81aab9d6f1.tar.zst
gsoc2013-evolution-5686e80ba22b8a93a7898a4063429c81aab9d6f1.zip
Fixes #329353
svn path=/trunk/; revision=31651
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/gnome-cal.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 266ced9bf2..594282f1c1 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2006-03-06 Chenthill Palanisamy <pchenthill@novell.com>
+
+ Fixes #329353
+ * gui/gnome-cal.c:
+ (gnome_calendar_on_date_navigator_selection_changed): If the previous
+ selection is not list view, set the view as month view.
+
2006-03-04 Jeff Cai <jeff.cai@sun.com>
Fixes #333234
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;