aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter
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
parentbb5e6eb2b6f1e671d6d531edf58668bbf8ff8f05 (diff)
downloadgsoc2013-evolution-0f51e447db631070d7dbe8c8dddb4d956eca1686.tar
gsoc2013-evolution-0f51e447db631070d7dbe8c8dddb4d956eca1686.tar.gz
gsoc2013-evolution-0f51e447db631070d7dbe8c8dddb4d956eca1686.tar.bz2
gsoc2013-evolution-0f51e447db631070d7dbe8c8dddb4d956eca1686.tar.lz
gsoc2013-evolution-0f51e447db631070d7dbe8c8dddb4d956eca1686.tar.xz
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')
-rw-r--r--plugins/itip-formatter/ChangeLog8
-rw-r--r--plugins/itip-formatter/itip-formatter.c5
2 files changed, 12 insertions, 1 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index 49d14ce352..b620031de9 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2005-01-27 JP Rosevear <jpr@novell.com>
* itip-view.c (format_date_and_time_x): make tomorrow and this
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,