diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-08-17 17:00:30 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-08-17 17:00:30 +0800 |
commit | 1581c7ff3e21325e8485758acde1590ca725c8cc (patch) | |
tree | 794e7459fcd4eef968aed058ccbd679fd25d9669 /calendar | |
parent | b8ae4454749711b66e4837320ceb826590004a55 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 6 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 3 |
3 files changed, 18 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 815084d1fc..7d70236218 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2007-08-17 Suman Manjunath <msuman@novell.com> + + reviewed by: Chenthill Palanisamy <pchenthill@novell.com> + + * gui/e-day-view.c: (e_day_view_do_key_press): + * gui/e-week-view.c: (e_week_view_do_key_press): + Set the free/busy info of events entered directly on the canvas, with + the editor defaults. + 2007-08-17 Chenthill Palanisamy <pchenthill@novell.com> Fixes #274070 (bnc) 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))); |