CVSROOT: /cvs/gnome Module name: gnome-pim Changes by: srittau 05/03/04 13:30:05
Modified files: . : ChangeLog gncal : calendar-day-view.c calendar-month-item.c calendar-month-item.h calendar-month.c calendar-month.h calendar-widget.c Log message: * calendar-day-view.c: (add_appointment): (remove_appointment): (remove_all_appointments): Removed obsolete assertions. * calendar-month-item.c: Added the concept of "week rows" to the canvas. These rows can be hidden in whole so that the last week of a month can be hidden when it has no days. Also, fixed the hiding of week numbers if the show-week-numbers property is set to FALSE. (create_week_rows): New private method. (create_week_numbers): (create_days): Now these are children of the week rows. (reorder): Show/hide the last week of the month if it has not days. (calculate_week_numbers_size): Return width/height 0 if the week numbers are not gonna be displayed. (reshape_week_numbers): Removed dead code. Hide/show the week numbers, depending on the show-week-numbers property. (calendar_month_item_construct): Call create_week_rows(). (calendar_month_item_set_calendar): New, still unimplemented method. * gncal/calendar-month-item.h: New method. * gncal/calendar-month.[ch]: (calendar_month_set_calendar): New method. * gncal/calendar-widget.c: (setup): Call calendar_month_set_calendar(). URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-pim&who=srittau&date=explicit&mindate=2005-03-04%2013:29&maxdate=2005-03-04%2013:31 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list