[evolution-patches] patch for #62113 (calendar)



This deals correctly with updates to instances of recurring meetings
-- 
Rodrigo Moya <rodrigo novell com>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2481
diff -u -p -r1.2481 ChangeLog
--- ChangeLog	10 Aug 2004 14:14:43 -0000	1.2481
+++ ChangeLog	10 Aug 2004 15:06:54 -0000
@@ -1,5 +1,12 @@
 2004-08-10  Rodrigo Moya <rodrigo novell com>
 
+	Fixes #62113
+
+	* gui/e-itip-control.c (update_attendee_status): if dealing with an
+	instance of a recurring meeting, just modify that instance.
+
+2004-08-10  Rodrigo Moya <rodrigo novell com>
+
 	* gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): disconnect
 	from signals also when using only the system tray. Fixes a crash when
 	removing an event that had an alarm popup recently.
Index: gui/e-itip-control.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-itip-control.c,v
retrieving revision 1.158
diff -u -p -r1.158 e-itip-control.c
--- gui/e-itip-control.c	9 Aug 2004 12:57:15 -0000	1.158
+++ gui/e-itip-control.c	10 Aug 2004 15:06:55 -0000
@@ -46,6 +46,7 @@
 #include <libecal/e-cal-component.h>
 #include <libecal/e-cal-time-util.h>
 #include <libecal/e-cal.h>
+#include <libecal/e-cal-util.h>
 #include <e-util/e-time-utils.h>
 #include <e-util/e-dialog-widgets.h>
 #include <e-util/e-html-utils.h>
@@ -1889,7 +1890,9 @@ update_attendee_status (EItipControl *it
 			}
 		}
 
-		if (!e_cal_modify_object (priv->current_ecal, icalcomp, CALOBJ_MOD_ALL, &error)) {
+		if (!e_cal_modify_object (priv->current_ecal, icalcomp,
+					  e_cal_util_component_is_instance (icalcomp) ? CALOBJ_MOD_ALL : CALOBJ_MOD_THIS,
+					  &error)) {
 			dialog = gnome_warning_dialog (error->message);
 			g_error_free (error);
 		} else {


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