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 /calendar/gui/e-itip-control.c | |
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
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r-- | calendar/gui/e-itip-control.c | 7 |
1 files changed, 3 insertions, 4 deletions
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; |