From a223b88a9034f0c33f2e979403e1352ff822f8a2 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Mon, 8 Jan 2001 00:47:35 +0000 Subject: added new source files for the Tasks folders. 2001-01-08 Damon Chaplin * gui/Makefile.am: added new source files for the Tasks folders. * gui/e-tasks.[hc]: new widget to encapsulate the Tasks view. * gui/tasks-control.[hc]: new files to implement the Tasks control. * gui/tasks-control-factory.[hc]: new files to implement the factory for the Tasks controls. (I think the way I've split the code up is a lot cleaner than the GnomeCal implementation - the factory file just contains the factory functions and the control file contains all the control functions. Maybe we should make GnomeCal like this.) * gui/main.c: initialize the Tasks control factory. * gui/component-factory.c: added support for the Tasks control. Also added a "create_folder" function so we can now create new Tasks and Calendar folders within Evolution. I'm not a Bonobo expert so someone might want to check these over. * gui/calendar-config.[hc]: added convenience functions to configure the common settings of ECalendar and EDateEdit widgets. * gui/dialogs/task-editor.c (task_editor_create_date_edit): * gui/gnome-cal.c (gnome_calendar_update_config_settings): * gui/event-editor.c: used function to configure the ECalendars and EDateEdits. * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): fixed minor bug in format strings. svn path=/trunk/; revision=7297 --- calendar/gui/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui/main.c') diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 53f833f70f..b286eb060a 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -39,6 +39,7 @@ #include "calendar-config.h" #include "component-factory.h" #include "control-factory.h" +#include "tasks-control-factory.h" #include "e-itip-control.h" static void @@ -77,6 +78,7 @@ main (int argc, char **argv) control_factory_init (); component_factory_init (); e_itip_control_factory_init (); + tasks_control_factory_init (); bonobo_main (); -- cgit v1.2.3