diff options
author | JP Rosevear <jpr@novell.com> | 2004-06-11 01:06:32 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-06-11 01:06:32 +0800 |
commit | b1c7fda1bcdb890774764aa8dbf7be1581eadc76 (patch) | |
tree | 1381ce23453c57caab6f01ef2ddb8a1008d3fe26 /calendar/gui | |
parent | 8db565271c4bca4f480eb79193c0a5ceb322b778 (diff) | |
download | gsoc2013-evolution-b1c7fda1bcdb890774764aa8dbf7be1581eadc76.tar.gz gsoc2013-evolution-b1c7fda1bcdb890774764aa8dbf7be1581eadc76.tar.zst gsoc2013-evolution-b1c7fda1bcdb890774764aa8dbf7be1581eadc76.zip |
only do the range selected hack in one case
2004-06-10 JP Rosevear <jpr@novell.com>
* gui/gnome-cal.c
(gnome_calendar_on_date_navigator_selection_changed): only do the
range selected hack in one case
svn path=/trunk/; revision=26290
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/gnome-cal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 45921770e0..b58e6d2133 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -2692,6 +2692,9 @@ gnome_calendar_on_date_navigator_selection_changed (ECalendarItem *calitem, Gnom /* Switch views as appropriate, and change the number of days or weeks shown. */ if (new_days_shown > 9) { + /* FIXME Gross hack so that the view times are updated properly */ + priv->range_selected = TRUE; + e_week_view_set_weeks_shown (E_WEEK_VIEW (priv->month_view), (new_days_shown + 6) / 7); view_type = GNOME_CAL_MONTH_VIEW; @@ -2707,9 +2710,6 @@ gnome_calendar_on_date_navigator_selection_changed (ECalendarItem *calitem, Gnom view_type = GNOME_CAL_DAY_VIEW; } - /* FIXME Gross hack so that the view times are updated properly */ - priv->range_selected = TRUE; - /* Make the views display things properly */ update_view_times (gcal, new_time); |