[evolution-patches] [Resending] fix for for bug #307841



Hi,
   Have modified the patch so that the transparency is set always.

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 11:46:00 -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 11:46:01 -0000
@@ -1329,6 +1329,12 @@ view_response_cb (GtkWidget *widget, Iti
 	FormatItipPObject *pitip = data;
 	gboolean status = FALSE;
 	icalproperty *prop;
+	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);
 
 
 	if (!pitip->my_address && pitip->current_ecal != NULL)


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