diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2009-01-30 17:29:12 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2009-01-30 17:29:12 +0800 |
commit | 04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f (patch) | |
tree | 7e316477c1c783ea785ca492f71ef02e0b0c5560 /calendar | |
parent | bf4820e7210c70abc7fd4249dc838115bdec6727 (diff) | |
download | gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.gz gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.bz2 gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.lz gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.xz gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.zst gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.zip |
Fixes #450535 (bnc).
svn path=/trunk/; revision=37188
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-calendar-view.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4228fed713..602eccbe65 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,12 @@ 2009-01-30 Chenthill Palanisamy <pchenthill@novell.com> + Fixes #450535 (bnc) + * calendar/gui/e-calendar-view.c: If multiple days are + selected in month view, show same selected times in the + editor also. + +2009-01-30 Chenthill Palanisamy <pchenthill@novell.com> + Fixes #347287 * calendar/gui/e-cal-model.c: * calendar/gui/gnome-cal.c: Increased the number of tries diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 1215d5d7a2..e4270426e7 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -2019,7 +2019,7 @@ e_calendar_view_new_appointment_full (ECalendarView *cal_view, gboolean all_day, /* We either need rounding or don't want to set all_day for this, we will rather use actual */ /* time in this cases; dtstart should be a midnight in this case */ - if (do_rounding || (!all_day && (dtend - dtstart) % (60 * 60 * 24) == 0)) { + if (do_rounding || (!all_day && (dtend - dtstart) == (60 * 60 * 24))) { struct tm local = *localtime (&now); int time_div = calendar_config_get_time_divisions (); int hours, mins; |