aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter/itip-formatter.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/itip-formatter/itip-formatter.c')
-rw-r--r--plugins/itip-formatter/itip-formatter.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 00c62bb325..b2bccca3b0 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -1329,6 +1329,12 @@ view_response_cb (GtkWidget *widget, ItipViewResponse response, gpointer data)
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)