CVSROOT: /cvs/gnome Module name: gnome-pim Changes by: srittau 05/03/03 17:09:13
Modified files: . : ChangeLog gncal : calendar-day-view.c calendar-day-view.h calendar-day.c calendar-widget.c gnomecal-prefs.c Log message: * Make the day view always start at the "light area" of a day. Also, preparations for displaying appointments again. * gncal/calendar-day-view.c: Now stores a pointer to the calendar manager as well as the current date. (calendar_day_view_init): Initialize date. (calendar_day_finalize): Unref calendar manager pointer. (is_appointment_applicable): (add_appointment): (remove_appointment): (remove_all_appointments): (add_appointment_is_applicable): (add_all_appointments_of_today): New private methods. (row_height): Assert that the widget is realized. (calendar_day_view_set_calendar): (calendar_day_view_set_date): (calendar_day_view_get_y_pos_for_time): New public methods. * gncal/calendar-day-view.h: New methods as above. * gncal/calendar-day.c: (mapped_cb): New callback that is called after the widget and its children are realized to update the drawing of the label and the day view. (update_calendar): Move day view to the start of the white area. (setup): Store a few pointers, don't call update_label() from here. (calendar_day_set_calendar): Update the day view as well. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-pim&who=srittau&date=explicit&mindate=2005-03-03%2017:08&maxdate=2005-03-03%2017:10 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list