[evolution-patches] patch for calendar



Hi patch-reviewer,

	We need identify the same long evnet comes from different backends.

Regargs,

Jedy
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2742
diff -u -r1.2742 ChangeLog
--- ChangeLog	30 May 2005 09:14:26 -0000	1.2742
+++ ChangeLog	3 Jun 2005 07:23:49 -0000
@@ -1,3 +1,9 @@
+2005-06-03  Jedy Wang  <jedy wang sun com>
+
+	We need compare backend for long events too.
+
+	* gui/e-day-view.c: (e_day_view_find_event_from_uid):
+
 2005-05-30  Thouis R. Jones  <thouis csail mit edu>
 
 	Fixes #272301
Index: gui/e-day-view.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-day-view.c,v
retrieving revision 1.274
diff -u -r1.274 e-day-view.c
--- gui/e-day-view.c	30 May 2005 09:14:26 -0000	1.274
+++ gui/e-day-view.c	3 Jun 2005 07:24:04 -0000
@@ -1967,6 +1967,9 @@
 		event = &g_array_index (day_view->long_events,
 					EDayViewEvent, event_num);
 
+		if (event->comp_data->client != client)
+			continue;
+
 		u = icalcomponent_get_uid (event->comp_data->icalcomp);
 		if (u && !strcmp (uid, u)) {
 			*day_return = E_DAY_VIEW_LONG_EVENT;


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