[evolution-patches] Fix for the bug #63513 [calendar]



Hi,
   Have attached a fix for the bug 63513. Since OK buttons will be
sensitized only when the ecal is loaded, we can get the cal address
of the ecal. With this this fix if the attendee is not found, evolution 
will create a new attendee parameter with the ecal address instead
creating an attendee parameter with the cal address of the default
account. Now backend will be able to find the attendee properly and
process the status of the attendee.

thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2500.2.11
diff -u -p -r1.2500.2.11 ChangeLog
--- ChangeLog	21 Sep 2004 16:12:04 -0000	1.2500.2.11
+++ ChangeLog	22 Sep 2004 11:46:27 -0000
@@ -1,3 +1,10 @@
+2004-09-22  Chenthill Palanisamy  <pchenthill novell com>
+
+	Fixes #63513
+	* gui/e-itip-control.c
+	(ok_clicked_cb): Now the myaddress can be set to ecal address
+	since ok will be sentized only when ecal is loaded.
+
 2004-09-21  JP Rosevear  <jpr novell com>
  
  	Fixes #60904
Index: gui/e-itip-control.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-itip-control.c,v
retrieving revision 1.160.4.1
diff -u -p -r1.160.4.1 e-itip-control.c
--- gui/e-itip-control.c	10 Sep 2004 15:58:43 -0000	1.160.4.1
+++ gui/e-itip-control.c	22 Sep 2004 11:46:28 -0000
@@ -2420,6 +2420,9 @@ ok_clicked_cb (GtkWidget *widget, gpoint
 
 	priv = itip->priv;
 
+	if (!priv->my_address && priv->current_ecal != NULL)
+		e_cal_get_cal_address (priv->current_ecal, &priv->my_address, NULL);
+
 	switch (priv->action) {
 	case 'U':
 		update_item (itip);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]