[evolution-patches] (calendar) patch for #72038
- From: Rodrigo Moya <rodrigo novell com>
- To: Evolution Patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] (calendar) patch for #72038
- Date: Fri, 11 Feb 2005 12:46:38 +0100
--
Rodrigo Moya <rodrigo novell com>
? gui/dialogs/event-page.gladep
? gui/dialogs/task-page.gladep
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2664
diff -u -p -r1.2664 ChangeLog
--- ChangeLog 10 Feb 2005 08:42:08 -0000 1.2664
+++ ChangeLog 11 Feb 2005 11:47:53 -0000
@@ -1,3 +1,10 @@
+2005-02-11 Rodrigo Moya <rodrigo novell com>
+
+ Fixes #72038
+
+ * gui/itip-utils.c (itip_send_comp): when we get no recipients, don't
+ send the message and return an error.
+
2005-02-10 Chenthill Palanisamy <pchenthill novell com>
* gui/e-cal-model.c: (e_cal_view_objects_added_cb): Remove
Index: gui/itip-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/itip-utils.c,v
retrieving revision 1.95
diff -u -p -r1.95 itip-utils.c
--- gui/itip-utils.c 26 Jan 2005 05:04:48 -0000 1.95
+++ gui/itip-utils.c 11 Feb 2005 11:47:53 -0000
@@ -918,6 +918,10 @@ itip_send_comp (ECalComponentItipMethod
retval = TRUE;
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 ();
Index: gui/dialogs/comp-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/comp-editor.c,v
retrieving revision 1.121
diff -u -p -r1.121 comp-editor.c
--- gui/dialogs/comp-editor.c 5 Feb 2005 06:08:22 -0000 1.121
+++ gui/dialogs/comp-editor.c 11 Feb 2005 11:47:53 -0000
@@ -1785,7 +1785,7 @@ real_send_comp (CompEditor *editor, ECal
comp_editor_set_changed (editor, TRUE);
- return FALSE;
+ return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]