[evolution-patches] patch for bug# 312739 [Calendar]



Hi,

Attached below is patch for the bug
http://bugzilla.gnome.org/show_bug.cgi?id=312739







Thanks,
Viren
Index: gui/e-day-view.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-day-view.c,v
retrieving revision 1.284
diff -u -p -r1.284 e-day-view.c
--- gui/e-day-view.c	4 Aug 2005 17:19:06 -0000	1.284
+++ gui/e-day-view.c	12 Aug 2005 09:24:02 -0000
@@ -3306,15 +3306,13 @@ e_day_view_on_event_double_click (EDayVi
 		event = &g_array_index (day_view->events[day], EDayViewEvent,
 					event_num);
 
-        if (day == day_view->editing_event_day
-	                    && event_num == day_view->editing_event_num
-        	            && icalcomponent_get_current_property (event->comp_data->icalcomp)) {
-        	attendee_prop = icalcomponent_get_first_property (event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY)
-;
+	 attendee_prop = icalcomponent_get_first_property (event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY);
+	
+        if (attendee_prop) 
         	e_calendar_view_edit_appointment (day_view,
 				     event->comp_data->client, 
-				     event->comp_data->icalcomp, attendee_prop ? TRUE:FALSE);
- 	} else    
+				     event->comp_data->icalcomp, TRUE);
+ 	 else    
 		e_calendar_view_edit_appointment (day_view,
 				event->comp_data->client,
 			        event->comp_data->icalcomp, FALSE);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2792
diff -u -p -r1.2792 ChangeLog
--- ChangeLog	9 Aug 2005 22:46:27 -0000	1.2792
+++ ChangeLog	12 Aug 2005 09:24:13 -0000
@@ -1,3 +1,11 @@
+2005-08-12  Viren.L  <lviren novell com>
+
+	* gui/e-day-view.c: (e_day_view_on_event_double_click):
+	Removed the checks for event_num, editing_event_day and added 
+	a e_cal_get_first_property check for ICAL_ATTENDEE_PROPERTY.
+
+	Fixes #312739
+	
 2005-08-10  Tor Lillqvist  <tml novell com>
 
 	* importers/Makefile.am: Use privsolib instead of privlib (they


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