From 5589db933d5bc837ab552cbe1a7fd8b9437efe18 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 31 Oct 2001 00:27:51 +0000 Subject: call GNOME_Evolution_Composer_setMultipartType to get a * gui/itip-utils.c (itip_send_comp): call GNOME_Evolution_Composer_setMultipartType to get a multipart/alternative. svn path=/trunk/; revision=14511 --- calendar/ChangeLog | 6 ++++++ calendar/gui/itip-utils.c | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d2e4a564b7..3bd4c0300c 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2001-10-30 Dan Winship + + * gui/itip-utils.c (itip_send_comp): call + GNOME_Evolution_Composer_setMultipartType to get a + multipart/alternative. + 2001-10-30 JP Rosevear * gui/e-meeting-time-sel.c diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 013787ee39..c955425dd5 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -687,6 +687,12 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp) g_return_if_fail (bonobo_server != NULL); composer_server = BONOBO_OBJREF (bonobo_server); + GNOME_Evolution_Composer_setMultipartType (composer_server, GNOME_Evolution_Composer_ALTERNATIVE, &ev); + if (BONOBO_EX (&ev)) { + g_warning ("Unable to set multipart type while sending iTip message"); + goto cleanup; + } + comp = comp_compliant (method, send_comp); if (comp == NULL) goto cleanup; -- cgit