aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-31 08:27:51 +0800
committerDan Winship <danw@src.gnome.org>2001-10-31 08:27:51 +0800
commit5589db933d5bc837ab552cbe1a7fd8b9437efe18 (patch)
tree88797b8833cc3fef4931a21edcf17e4fb0036c9a /calendar/gui/itip-utils.c
parente7157ba8938ac2de32ad3c5f5b73db12ddb772c0 (diff)
downloadgsoc2013-evolution-5589db933d5bc837ab552cbe1a7fd8b9437efe18.tar
gsoc2013-evolution-5589db933d5bc837ab552cbe1a7fd8b9437efe18.tar.gz
gsoc2013-evolution-5589db933d5bc837ab552cbe1a7fd8b9437efe18.tar.bz2
gsoc2013-evolution-5589db933d5bc837ab552cbe1a7fd8b9437efe18.tar.lz
gsoc2013-evolution-5589db933d5bc837ab552cbe1a7fd8b9437efe18.tar.xz
gsoc2013-evolution-5589db933d5bc837ab552cbe1a7fd8b9437efe18.tar.zst
gsoc2013-evolution-5589db933d5bc837ab552cbe1a7fd8b9437efe18.zip
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
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c6
1 files changed, 6 insertions, 0 deletions
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;