diff options
author | Jason Leach <jleach@ximian.com> | 2001-07-11 13:32:14 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-07-11 13:32:14 +0800 |
commit | e415f609d213e8fe175251e71d51ec39acdd3862 (patch) | |
tree | 5c6138a5a335131e8d25dfe7d50cdf3ebeba167d /calendar/gui/e-tasks.c | |
parent | 4763f25379dd0a254b2dba9d9a2ed328c90f1f99 (diff) | |
download | gsoc2013-evolution-e415f609d213e8fe175251e71d51ec39acdd3862.tar.gz 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.c | 3 |
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); |