[evolution-patches] fix for the bug #329353 [exchange calendar]



Hi,
   Have attached the patch. Checks if the previous view is List view, else changes view to month view.

thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.3001
diff -u -p -r1.3001 ChangeLog
--- ChangeLog	28 Feb 2006 12:16:43 -0000	1.3001
+++ ChangeLog	3 Mar 2006 11:53:04 -0000
@@ -1,3 +1,10 @@
+2006-03-03  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-02-28  Chenthill Palanisamy  <pchenthill novell com>
 
 	Fixes #332726
Index: gui/gnome-cal.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/gnome-cal.c,v
retrieving revision 1.397
diff -u -p -r1.397 gnome-cal.c
--- gui/gnome-cal.c	8 Feb 2006 13:06:02 -0000	1.397
+++ gui/gnome-cal.c	3 Mar 2006 11:53:06 -0000
@@ -3096,7 +3096,7 @@ gnome_calendar_on_date_navigator_selecti
 		/* 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]