diff options
author | Rodney Dawes <dobey@ximian.com> | 2004-01-24 04:09:31 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-01-24 04:09:31 +0800 |
commit | 17770bfef84a7399a00dc06fdbe817afb87231c2 (patch) | |
tree | 0ad1fe6898f84f2a8a924c9c9470b61aa3fa7085 | |
parent | dc59e0b1180585e4215b5109c1f94a05a3ae5fc0 (diff) | |
download | gsoc2013-evolution-17770bfef84a7399a00dc06fdbe817afb87231c2.tar.gz gsoc2013-evolution-17770bfef84a7399a00dc06fdbe817afb87231c2.tar.zst gsoc2013-evolution-17770bfef84a7399a00dc06fdbe817afb87231c2.zip |
Use PUBLISH if no METHOD defined
2004-01-23 Rodney Dawes <dobey@ximian.com>
* gui/e-itip-control.c: Use PUBLISH if no METHOD defined
Fixes #45564
svn path=/trunk/; revision=24385
-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; |