[evolution-patches] Fix for forwarding as icalendar



Fixes the right click forward as icalendar option.

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2688
diff -u -r1.2688 ChangeLog
--- ChangeLog	15 Mar 2005 02:53:25 -0000	1.2688
+++ ChangeLog	15 Mar 2005 15:08:22 -0000
@@ -1,3 +1,8 @@
+2005-03-15  JP Rosevear  <jpr novell com>
+
+	* gui/itip-utils.c (itip_send_comp): when publishing, the to_list
+	will always be null so don't error out then
+
 2005-03-13  JP Rosevear  <jpr novell com>
 
 	Fixes #73563
Index: gui/itip-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/itip-utils.c,v
retrieving revision 1.97
diff -u -r1.97 itip-utils.c
--- gui/itip-utils.c	23 Feb 2005 18:56:56 -0000	1.97
+++ gui/itip-utils.c	15 Mar 2005 15:08:22 -0000
@@ -916,11 +916,11 @@
 			/* We sent them all via the server */
 			retval = TRUE;
 			goto cleanup;
+		} else if (to_list == NULL || to_list->_length == 0) {
+			/* if we don't have recipients, return */
+			retval = FALSE;
+			goto cleanup;
 		}
-	} else if (to_list == NULL || to_list->_length == 0) {
-		/* if we don't have recipients, return */
-		retval = FALSE;
-		goto cleanup;
 	}
 
 	cc_list = GNOME_Evolution_Composer_RecipientList__alloc ();


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