[evolution-patches] fix for the bug #307841



Hi, 
  Have attached the patch.

thanks, chenthill.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/itip-formatter/ChangeLog,v
retrieving revision 1.54
diff -u -p -r1.54 ChangeLog
--- ChangeLog	28 Jul 2005 04:45:56 -0000	1.54
+++ ChangeLog	5 Aug 2005 10:11:59 -0000
@@ -1,3 +1,10 @@
+2005-08-05  Chenthill Palanisamy  <pchenthill novell com>
+
+	Fixes #307841
+	* itip-formatter.c: (view_response_cb): Check
+	if the transparency is set and if not set it as
+	Opaque.
+
 2005-07-27  Vivek Jain  <jvivek novell com>
 	
 	* itip-formatter.c : (update_item) 
Index: itip-formatter.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/itip-formatter/itip-formatter.c,v
retrieving revision 1.47
diff -u -p -r1.47 itip-formatter.c
--- itip-formatter.c	28 Jul 2005 04:45:56 -0000	1.47
+++ itip-formatter.c	5 Aug 2005 10:12:04 -0000
@@ -1347,6 +1347,13 @@ view_response_cb (GtkWidget *widget, Iti
 		status = change_status (pitip->ical_comp, pitip->my_address, 
 					ICAL_PARTSTAT_ACCEPTED);
 		if (status) {
+			ECalComponentTransparency trans;
+
+			e_cal_component_get_transparency (pitip->comp, &trans);
+			/* FIXME we should be providing an option to accept as free or busy */
+			if (trans == E_CAL_COMPONENT_TRANSP_NONE)
+				e_cal_component_set_transparency (pitip->comp, E_CAL_COMPONENT_TRANSP_OPAQUE);
+			
 			e_cal_component_rescan (pitip->comp);
 			update_item (pitip, response);
 		}


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