diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 4 |
2 files changed, 8 insertions, 1 deletions
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 <mbarnes@redhat.com> + + * gui/widgets/e-addressbook-view.c: (init_collection) + Abort if ETable specification file fails to load. + 2007-07-07 Gilles Dartiguelongue <gdartigu@svn.gnome.org> ** 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); |