From 84fa00e42a593a4e4e64866090df30c9d7c066b9 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 4 Sep 1998 00:43:06 +0000 Subject: Finished with the properties dialog. You can jump to days from the year Finished with the properties dialog. You can jump to days from the year view now. I'm off to rewrite gnome-popupmenu and friends. 1998-09-03 Federico Mena Quintero * gncal-full-day.c (gncal_full_day_forall): Updated foreach -> forall from Gtk changes, bleah. * year-view.c (day_event): New function to handle events from days. Jumps to the day that is clicked. * main.c: Use a watch cursor while the previous/today/next functions are doing their job. * mark.c (month_item_prepare_prelight): New public utility function to prepare a month item for prelighting. It will store the proper prelight information and attach the appropriate signals. (mark_current_day): Make the current day bold as well (useful for color-blind people, I guess). * prop.c (set_current_day): Reset the date in the sample calendar and mark the current day. (fake_mark_days): Mark fake events in the sample calendar. * year-view.c (year_view_set): Use the general prelighting engine. * goto.c (day_event): Just process button presses, as prelighting is done behind the scenes now. (update): Use the general prelighting engine. * prop.c (create_colors_page): We can now configure the colors of svn path=/trunk/; revision=361 --- calendar/gui/month-view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/month-view.c') diff --git a/calendar/gui/month-view.c b/calendar/gui/month-view.c index 4d1a9bf967..d84d7c98cc 100644 --- a/calendar/gui/month-view.c +++ b/calendar/gui/month-view.c @@ -9,6 +9,7 @@ #include #include "month-view.h" #include "main.h" +#include "mark.h" #define SPACING 4 /* Spacing between title and calendar */ @@ -212,6 +213,6 @@ month_view_colors_changed (MonthView *mv) g_return_if_fail (mv != NULL); g_return_if_fail (IS_MONTH_VIEW (mv)); - unmark_month_item (mv->mitem); + unmark_month_item (GNOME_MONTH_ITEM (mv->mitem)); /* FIXME */ } -- cgit v1.2.3