CVSROOT: /cvs/gnome Module name: gnome-pim Changes by: srittau 05/03/03 08:36:15
Modified files: . : ChangeLog gncal : Makefile.am calendar-day-view.c calendar-day-view.h calendar-day.c calendar-day.h calendar-widget.c calendar-widget.h gnomecal-alarm-sink.c gnomecal-main-window.c todo-dialog.c todo-list.c todo-list.h Added files: gncal : calendar-manager.c calendar-manager.h Log message: * gncal/Makefile.am: * gncal/calendar-manager.[ch]: New class to handle the calendar. * Lots of changes to adapt to a LibMIMEDir API change and to prepare the reenabling of calendar reading/loading. * gncal/calendar-day.[ch] (calendar_day_set_calendar): New public method. Will hand on a Calendar Manager object to sub widgets. * gncal/calendar-widget.c (calendar_widget_init): (calendar_widget_dispose): Create a Calendar Manager object when this object is created. (get_filename_for_saving): New utility methods. (save_calendar): New private method. (calendar_widget_load_from_vcal_list): (calendar_widget_save_real): (calendar_widget_get_vcalendar): Obsolete methods removed. (calendar_widget_calendar_load): (calendar_widget_calendar_load_default): Rewrote. (calendar_widget_calendar_save): API documentation. Rewrote. * gncal/calendar-widget.h (calendar_widget_get_vcalendar): Removed. * gncal/gnomecal-alarm-sink.c: Removed namespace prefixes from static method and function names. (setup_alarm_item): (remove_all_alarms): New private methods. (gncal_alarm_sink_add): Use g_return_if_fail() instead of g_critical() with custom text. Use setup_alarm_item(). (gncal_alarm_sink_clear): Use remove_all_items(). * gncal/gnomecal-main-window.c: Removed namespace prefixes from static method and function names. * gncal/todo-dialog.c: Removed namespace prefixes from static method and function names. (date_changed_cb): (update): Use GDate instead of struct tm. (setup): Default to empty due date widget. * gncal/todo-list.c: Removed namespace prefixes from static method and function names. Major reorderings. Also, load stuff from the Calendar Manager object. (todo_list_finalize): Removed. (todo_list_dispose): Integrated stuff from removed method todo_list_finalize(). (todo_list_set_list): (todo_list_get_list): Removed. (todo_list_set_calendar): New method. * gncal/todo-list.h (todo_list_set_list): (todo_list_get_list): Removed. (todo_list_set_calendar): New. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-pim&who=srittau&date=explicit&mindate=2005-03-03%2008:35&maxdate=2005-03-03%2008:37 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list