From 5d410b8d4330ea687579595b681ad91090136ea3 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 26 Aug 1998 01:48:53 +0000 Subject: Set the heading color of the month item. 1998-08-25 Federico Mena Quintero * goto.c (create_days): Set the heading color of the month item. * main.c: Use GNOME_STOCK_PIXMAP_JUMP_TO, now that it exists, instead of goto.xpm. Also, removed goto.xpm from cvs. * gnome-month-item.h (struct _GnomeMonthItem): Added fields for the heading and day number fonts. Added fields for heading and day number label colors. * gnome-month-item.c (gnome_month_item_class_init): ARG_DAY_NAMES should be write-only. Also, added arguments for heading and day number fonts. Added arguments for heading and day number colors. svn path=/trunk/; revision=339 --- calendar/month-view.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calendar/month-view.c') diff --git a/calendar/month-view.c b/calendar/month-view.c index 0abc717366..01d4391b25 100644 --- a/calendar/month-view.c +++ b/calendar/month-view.c @@ -78,10 +78,12 @@ month_view_init (MonthView *mv) mv->mitem = gnome_month_item_new (GNOME_CANVAS_GROUP (mv->canvas.root)); gnome_canvas_item_set (mv->mitem, "x", 0.0, - "y", 0.0, "anchor", GTK_ANCHOR_NW, "day_anchor", GTK_ANCHOR_NE, "start_on_monday", week_starts_on_monday, + "heading_height", 18.0, + "heading_font", "-*-helvetica-bold-r-normal--12-*-*-*-*-*-iso8859-1", + "day_font", "-*-helvetica-bold-r-normal--14-*-*-*-*-*-iso8859-1", NULL); } -- cgit v1.2.3