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/gui/itip-utils.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'calendar/gui/itip-utils.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