From 43fd11d9b80259b3b6ec64de4fdff0767b5611c5 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 14 Aug 1998 00:33:01 +0000 Subject: Doh. Actually recalculate the days using the month and year. 1998-08-13 Federico Mena Quintero * gnome-month-item.c (gnome_month_item_set_arg): Doh. Actually recalculate the days using the month and year. * main.c: Added "Go to" button to quickly jump to a specific date. * goto.c: New file that defines the quick go-to date dialog. * Makefile.am (gnomecal_SOURCES): Added goto.c to the sources. svn path=/trunk/; revision=317 --- calendar/month-view.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/month-view.c') diff --git a/calendar/month-view.c b/calendar/month-view.c index 4b96aa4bcb..a23938b350 100644 --- a/calendar/month-view.c +++ b/calendar/month-view.c @@ -65,9 +65,9 @@ month_view_init (MonthView *mv) "y", 0.0, "anchor", GTK_ANCHOR_NW, "day_anchor", GTK_ANCHOR_NE, - +#if 0 "start_on_monday", TRUE, - +#endif NULL); } @@ -115,7 +115,7 @@ month_view_size_allocate (GtkWidget *widget, GtkAllocation *allocation) gnome_canvas_set_scroll_region (GNOME_CANVAS (mv), 0, 0, allocation->width, allocation->height); gnome_canvas_item_set (mv->mitem, - "width", (double) allocation->width, - "height", (double) allocation->height, + "width", (double) (allocation->width - 1), + "height", (double) (allocation->height - 1), NULL); } -- cgit v1.2.3