Index: plugins/itip-formatter/ChangeLog
===================================================================
--- plugins/itip-formatter/ChangeLog	(revision 34889)
+++ plugins/itip-formatter/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2008-01-25  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #272932
+
+	* itip-formatter.c: (update_item): Change component method
+	to CANCEL when user canceled or declaimed.
+
 2007-12-20  Matthew Barnes  <mbarnes@redhat.com>
 
 	** Fixes part of bug #362638
Index: plugins/itip-formatter/itip-formatter.c
===================================================================
--- plugins/itip-formatter/itip-formatter.c	(revision 34889)
+++ plugins/itip-formatter/itip-formatter.c	(working copy)
@@ -930,8 +930,10 @@
 	}
 	source = e_cal_get_source (pitip->current_ecal);
 
-	if ((response != ITIP_VIEW_RESPONSE_CANCEL)
-		&& (response != ITIP_VIEW_RESPONSE_DECLINE)){
+	if (response == ITIP_VIEW_RESPONSE_CANCEL ||
+	    response == ITIP_VIEW_RESPONSE_DECLINE) {
+		icalcomponent_set_method (pitip->top_level, ICAL_METHOD_CANCEL);
+	} else {
 		GSList *attachments = NULL, *new_attachments = NULL, *l;
 		CamelMimeMessage *msg = ((EMFormat *) pitip->pobject.format)->message;
 
