From 0f51e447db631070d7dbe8c8dddb4d956eca1686 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Wed, 2 Feb 2005 09:08:14 +0000 Subject: reviewed by Harish Krishnaswamy 2005-02-02 Chenthill Palanisamy reviewed by Harish Krishnaswamy Fixes #71460 * itip-formatter.c: (view_response_cb): If the my_address is not set. Set it from the backend. svn path=/trunk/; revision=28675 --- plugins/itip-formatter/itip-formatter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/itip-formatter/itip-formatter.c') diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index d0f8471e88..d1954a8cb9 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1132,7 +1132,10 @@ view_response_cb (GtkWidget *widget, ItipViewResponse response, gpointer data) { FormatItipPObject *pitip = data; gboolean status = FALSE; - + + if (!pitip->my_address && pitip->current_ecal != NULL) + e_cal_get_cal_address (pitip->current_ecal, &pitip->my_address, NULL); + switch (response) { case ITIP_VIEW_RESPONSE_ACCEPT: status = change_status (pitip->ical_comp, pitip->my_address, -- cgit