aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter/itip-formatter.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-02-02 17:08:14 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-02-02 17:08:14 +0800
commit0f51e447db631070d7dbe8c8dddb4d956eca1686 (patch)
tree5d11c27a3013dfa754664403f438eb4b052bc5fd /plugins/itip-formatter/itip-formatter.c
parentbb5e6eb2b6f1e671d6d531edf58668bbf8ff8f05 (diff)
downloadgsoc2013-evolution-0f51e447db631070d7dbe8c8dddb4d956eca1686.tar.gz
gsoc2013-evolution-0f51e447db631070d7dbe8c8dddb4d956eca1686.tar.zst
gsoc2013-evolution-0f51e447db631070d7dbe8c8dddb4d956eca1686.zip
reviewed by Harish Krishnaswamy <kharish@novell.com>
2005-02-02 Chenthill Palanisamy <pchenthill@novell.com> reviewed by Harish Krishnaswamy <kharish@novell.com> 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
Diffstat (limited to 'plugins/itip-formatter/itip-formatter.c')
-rw-r--r--plugins/itip-formatter/itip-formatter.c5
1 files changed, 4 insertions, 1 deletions
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,