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



Hi,


Sorry, ignore the last patch.
I have attached a unified 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 11:01:04 -0000
@@ -3301,23 +3301,16 @@ e_day_view_on_event_double_click (EDayVi
 
 	if (day == -1)
 		event = &g_array_index (day_view->long_events, EDayViewEvent,
-					event_num);
+				event_num);
 	else 
 		event = &g_array_index (day_view->events[day], EDayViewEvent,
-					event_num);
+				event_num);
+
+	attendee_prop = icalcomponent_get_first_property (event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY);
 
-        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)
-;
-        	e_calendar_view_edit_appointment (day_view,
-				     event->comp_data->client, 
-				     event->comp_data->icalcomp, attendee_prop ? TRUE:FALSE);
- 	} else    
-		e_calendar_view_edit_appointment (day_view,
-				event->comp_data->client,
-			        event->comp_data->icalcomp, FALSE);
+	e_calendar_view_edit_appointment (day_view,
+			event->comp_data->client, 
+			event->comp_data->icalcomp, attendee_prop ? TRUE:FALSE);
 }
 
 static void
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 11:01:15 -0000
@@ -1,3 +1,10 @@
+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 ical_component_get_current_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]