aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/month-view.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-08-14 08:33:01 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-08-14 08:33:01 +0800
commit43fd11d9b80259b3b6ec64de4fdff0767b5611c5 (patch)
treec0061e68fad9091974b4214d15fd124adbbeb3f2 /calendar/month-view.c
parenta6266876c6c829d7862b522651ecca1dda6a1c65 (diff)
downloadgsoc2013-evolution-43fd11d9b80259b3b6ec64de4fdff0767b5611c5.tar
gsoc2013-evolution-43fd11d9b80259b3b6ec64de4fdff0767b5611c5.tar.gz
gsoc2013-evolution-43fd11d9b80259b3b6ec64de4fdff0767b5611c5.tar.bz2
gsoc2013-evolution-43fd11d9b80259b3b6ec64de4fdff0767b5611c5.tar.lz
gsoc2013-evolution-43fd11d9b80259b3b6ec64de4fdff0767b5611c5.tar.xz
gsoc2013-evolution-43fd11d9b80259b3b6ec64de4fdff0767b5611c5.tar.zst
gsoc2013-evolution-43fd11d9b80259b3b6ec64de4fdff0767b5611c5.zip
Doh. Actually recalculate the days using the month and year.
1998-08-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * 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
Diffstat (limited to 'calendar/month-view.c')
-rw-r--r--calendar/month-view.c8
1 files changed, 4 insertions, 4 deletions
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);
}