From e415f609d213e8fe175251e71d51ec39acdd3862 Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Wed, 11 Jul 2001 05:32:14 +0000 Subject: [Fix bug #4389: ETableSpecification still in .c file] 2001-07-11 Jason Leach [Fix bug #4389: ETableSpecification still in .c file] * gui/e-calendar-table.etspec: New file containing the spec that was in e-calendar-table.c as a big string. * gui/e-calendar-table.c (e_calendar_table_init): Use the spec file instead of a string. (e_calendar_table_get_spec): Removed this function, we don't need it anymore. * gui/e-tasks.c (e_tasks_setup_menus): Don't load from string, from file instead. * gui/Makefile.am: Necessary changes to get the new .etspec file installed. svn path=/trunk/; revision=10986 --- calendar/gui/e-tasks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/e-tasks.c') diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 6a14469213..dbf7a7d779 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -614,7 +614,8 @@ e_tasks_setup_menus (ETasks *tasks, g_free (dir); spec = e_table_specification_new (); - e_table_specification_load_from_string (spec, e_calendar_table_get_spec()); + e_table_specification_load_from_file (spec, + EVOLUTION_ETSPECDIR "/e-calendar-table.etspec"); factory = gal_view_factory_etable_new (spec); gal_view_collection_add_factory (collection, factory); -- cgit