diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/e-itip-control.c | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 73c02abc9e..6366f30cc2 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2004-01-23 Rodney Dawes <dobey@ximian.com> + + * gui/e-itip-control.c: Use PUBLISH if no METHOD defined + + Fixes #45564 + 2004-01-22 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-model.c (e_cal_view_objects_removed_cb): don't assert diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 5823ad7cbe..c3a718e834 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -1516,12 +1516,11 @@ e_itip_control_set_data (EItipControl *itip, const gchar *text) prop = icalcomponent_get_first_property (priv->main_comp, ICAL_METHOD_PROPERTY); if (prop == NULL) { - write_error_html (itip, _("The attachment does not contain a valid calendar message")); - return; + priv->method = ICAL_METHOD_PUBLISH; + } else { + priv->method = icalproperty_get_method (prop); } - priv->method = icalproperty_get_method (prop); - tz_iter = icalcomponent_begin_component (priv->main_comp, ICAL_VTIMEZONE_COMPONENT); while ((tz_comp = icalcompiter_deref (&tz_iter)) != NULL) { icalcomponent *clone; |