aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-06-11 00:53:45 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-06-11 00:53:45 +0800
commit1af9d0be3d9239f7ac8b609e62a3b3a00a039fe4 (patch)
treeb25263d6ab1a759881269d9e992948564d5f8930 /calendar
parent4ba6a25075f9cee4d9aafefe1d77a14e2734300d (diff)
downloadgsoc2013-evolution-1af9d0be3d9239f7ac8b609e62a3b3a00a039fe4.tar
gsoc2013-evolution-1af9d0be3d9239f7ac8b609e62a3b3a00a039fe4.tar.gz
gsoc2013-evolution-1af9d0be3d9239f7ac8b609e62a3b3a00a039fe4.tar.bz2
gsoc2013-evolution-1af9d0be3d9239f7ac8b609e62a3b3a00a039fe4.tar.lz
gsoc2013-evolution-1af9d0be3d9239f7ac8b609e62a3b3a00a039fe4.tar.xz
gsoc2013-evolution-1af9d0be3d9239f7ac8b609e62a3b3a00a039fe4.tar.zst
gsoc2013-evolution-1af9d0be3d9239f7ac8b609e62a3b3a00a039fe4.zip
set 6 weeks shown (display_view): ditto
2004-06-10 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (setup_widgets): set 6 weeks shown (display_view): ditto svn path=/trunk/; revision=26287
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/gnome-cal.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index c7d7bf00fe..1f7f7a2948 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-10 JP Rosevear <jpr@novell.com>
+
+ * gui/gnome-cal.c (setup_widgets): set 6 weeks shown
+ (display_view): ditto
+
2004-06-10 Rodrigo Moya <rodrigo@novell.com>
Fixes #58748
@@ -21,6 +26,8 @@
2004-06-09 JP Rosevear <jpr@novell.com>
+ Fixes #59242, #57404, ##55394
+
* gui/gnome-cal.c (get_times_for_views): calculate the work week,
week, and month views more exactly
(update_adjustment): update the view based on week view scrolling
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 1c76f1dbc0..45921770e0 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1235,7 +1235,7 @@ setup_widgets (GnomeCalendar *gcal)
e_calendar_view_set_calendar (E_CALENDAR_VIEW (priv->month_view), gcal);
e_calendar_view_set_timezone (E_CALENDAR_VIEW (priv->month_view), priv->zone);
e_week_view_set_multi_week_view (E_WEEK_VIEW (priv->month_view), TRUE);
- e_week_view_set_weeks_shown (E_WEEK_VIEW (priv->month_view), 5);
+ e_week_view_set_weeks_shown (E_WEEK_VIEW (priv->month_view), 6);
g_signal_connect (priv->month_view, "selection_changed",
G_CALLBACK (view_selection_changed_cb), gcal);
@@ -1725,7 +1725,7 @@ display_view (GnomeCalendar *gcal, GnomeCalendarViewType view_type, gboolean gra
case GNOME_CAL_MONTH_VIEW:
if (!priv->range_selected)
- e_week_view_set_weeks_shown (E_WEEK_VIEW (priv->month_view), 5);
+ e_week_view_set_weeks_shown (E_WEEK_VIEW (priv->month_view), 6);
preserve_day = TRUE;
break;