aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-tasks.c
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-07-11 13:32:14 +0800
committerJacob Leach <jleach@src.gnome.org>2001-07-11 13:32:14 +0800
commite415f609d213e8fe175251e71d51ec39acdd3862 (patch)
tree5c6138a5a335131e8d25dfe7d50cdf3ebeba167d /calendar/gui/e-tasks.c
parent4763f25379dd0a254b2dba9d9a2ed328c90f1f99 (diff)
downloadgsoc2013-evolution-e415f609d213e8fe175251e71d51ec39acdd3862.tar
gsoc2013-evolution-e415f609d213e8fe175251e71d51ec39acdd3862.tar.gz
gsoc2013-evolution-e415f609d213e8fe175251e71d51ec39acdd3862.tar.bz2
gsoc2013-evolution-e415f609d213e8fe175251e71d51ec39acdd3862.tar.lz
gsoc2013-evolution-e415f609d213e8fe175251e71d51ec39acdd3862.tar.xz
gsoc2013-evolution-e415f609d213e8fe175251e71d51ec39acdd3862.tar.zst
gsoc2013-evolution-e415f609d213e8fe175251e71d51ec39acdd3862.zip
[Fix bug #4389: ETableSpecification still in .c file]
2001-07-11 Jason Leach <jleach@ximian.com> [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
Diffstat (limited to 'calendar/gui/e-tasks.c')
-rw-r--r--calendar/gui/e-tasks.c3
1 files changed, 2 insertions, 1 deletions
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);