From c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 9 Jul 2007 03:25:31 +0000 Subject: Fix for bug #353752 svn path=/trunk/; revision=33777 --- addressbook/ChangeLog | 5 +++++ addressbook/gui/widgets/e-addressbook-view.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 705156da72..cf13186b5b 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2006-08-31 Matthew Barnes + + * gui/widgets/e-addressbook-view.c: (init_collection) + Abort if ETable specification file fails to load. + 2007-07-07 Gilles Dartiguelongue ** Fix for bug #448568 diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 19d12ab455..50d3b697b8 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -579,7 +579,9 @@ init_collection (void) etspecfile = g_build_filename (EVOLUTION_ETSPECDIR, "e-addressbook-view.etspec", NULL); - e_table_specification_load_from_file (spec, etspecfile); + if (!e_table_specification_load_from_file (spec, etspecfile)) + g_error ("Unable to load ETable specification file " + "for address book"); g_free (etspecfile); factory = gal_view_factory_etable_new (spec); -- cgit