[evolution-patches] calendar/gui : use add_source in place of add_event_source



Hi,

Looks like this one line change was missed out earlier. This was causing
some calendar crashes in connector. Please let me know if this is fine
to commit.

-- 
Regards
		-- Sarfraaz Ahmed
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2228
diff -u -r1.2228 ChangeLog
--- ChangeLog	30 Mar 2004 19:42:35 -0000	1.2228
+++ ChangeLog	31 Mar 2004 08:23:54 -0000
@@ -1,3 +1,8 @@
+2004-03-31  Sarfraaz Ahmed <asarfraaz novell com>
+
+	* gui/config-control.c (set_prop) : Replaced add_event_source 
+	with add_source and passed the VEVENT type as argument.
+
 2004-03-30  William Jon McCann  <mccann jhu edu>
 
 	* gui/dialogs/calendar-setup.glade:
Index: gui/control-factory.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/control-factory.c,v
retrieving revision 1.44
diff -u -r1.44 control-factory.c
--- gui/control-factory.c	23 Mar 2004 16:43:23 -0000	1.44
+++ gui/control-factory.c	31 Mar 2004 08:25:30 -0000
@@ -134,7 +134,7 @@
 		source = e_source_new ("", "");
 		e_source_set_group (source, group);
 
-		if (gnome_calendar_add_event_source (gcal, source)) {
+		if (gnome_calendar_add_source (gcal, E_CAL_SOURCE_TYPE_EVENT, source)) {
 			calendar_control_sensitize_calendar_commands (control, gcal, TRUE);
 		} else {
 			char *msg;


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