[evolution-patches] [calendar-groupwise]



[sorry : attachment missing in previous mail :]

 hi

    please review the attached patch to fix
    the following problem in gw-calendar

    Problem:
    Creating an appointment with any frequency
    (daily, weekly, monthly, yearly) and interval
    more than 1 (every 2 days or 3 weeks etc.)
    creates appointment with interval as 1.

    this is happening as interval info is not sent
    to the gw server.

    Solution:
    send  it.
    one line added in e-gw-item.c

 regards.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/ChangeLog,v
retrieving revision 1.160
diff -u -p -r1.160 ChangeLog
--- ChangeLog	13 Aug 2005 02:33:16 -0000	1.160
+++ ChangeLog	23 Aug 2005 06:13:43 -0000
@@ -1,3 +1,9 @@
+2005-08-23  P. S. Chakravarthi <pchakravarthi novell com>
+
+	* e-gw-item.c: (e_gw_item_set_calendar_item_elements):
+	added a line to set the interval information also to 
+	the soup message to be sent to gw-server.
+  
 2005-08-13  Tor Lillqvist  <tml novell com>
 
 	* Makefile.am: Use NO_UNDEFINED.
Index: e-gw-item.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/e-gw-item.c,v
retrieving revision 1.93
diff -u -p -r1.93 e-gw-item.c
--- e-gw-item.c	6 Aug 2005 11:26:31 -0000	1.93
+++ e-gw-item.c	23 Aug 2005 06:13:45 -0000
@@ -2938,6 +2938,8 @@ e_gw_item_set_calendar_item_elements (EG
 		soup_soap_message_start_element (msg, "rrule", NULL, NULL);
 		
 		e_gw_message_write_string_parameter (msg, "frequency", NULL, rrule->frequency); 
+		e_gw_message_write_int_parameter (msg, "interval", NULL, rrule->interval); 
+
 		if (rrule->until)
 			e_gw_message_write_string_parameter (msg, "until", NULL, rrule->until);
 		else


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