aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-08-17 17:00:30 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-08-17 17:00:30 +0800
commit1581c7ff3e21325e8485758acde1590ca725c8cc (patch)
tree794e7459fcd4eef968aed058ccbd679fd25d9669 /calendar/gui
parentb8ae4454749711b66e4837320ceb826590004a55 (diff)
downloadgsoc2013-evolution-1581c7ff3e21325e8485758acde1590ca725c8cc.tar.gz
gsoc2013-evolution-1581c7ff3e21325e8485758acde1590ca725c8cc.tar.zst
gsoc2013-evolution-1581c7ff3e21325e8485758acde1590ca725c8cc.zip
Fixes #298513 (bnc)
svn path=/trunk/; revision=34023
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-day-view.c6
-rw-r--r--calendar/gui/e-week-view.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 6d83770857..0be2ddfb41 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -6184,8 +6184,14 @@ e_day_view_do_key_press (GtkWidget *widget, GdkEventKey *event)
start_dt.tzid = NULL;
start_tt.is_date = 1;
end_tt.is_date = 1;
+
+ /* Editor default in day/work-week view - top canvas */
+ e_cal_component_set_transparency (comp, E_CAL_COMPONENT_TRANSP_TRANSPARENT);
} else {
start_dt.tzid = icaltimezone_get_tzid (e_calendar_view_get_timezone (E_CALENDAR_VIEW (day_view)));
+
+ /* Editor default in day/work-week view - main canvas */
+ e_cal_component_set_transparency (comp, E_CAL_COMPONENT_TRANSP_OPAQUE);
}
start_dt.value = &start_tt;
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index df3950c49b..0cc9b7f66d 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -3966,6 +3966,9 @@ e_week_view_do_key_press (GtkWidget *widget, GdkEventKey *event)
e_calendar_view_get_timezone (E_CALENDAR_VIEW (week_view)));
e_cal_component_set_dtend (comp, &date);
+ /* Editor default in week/month view */
+ e_cal_component_set_transparency (comp, E_CAL_COMPONENT_TRANSP_TRANSPARENT);
+
e_cal_component_set_categories (
comp, e_calendar_view_get_default_category (E_CALENDAR_VIEW (week_view)));