aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-09 11:25:31 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-09 11:25:31 +0800
commitc5d5b30780fd85d6e143acbd170a2bab9d6bd5a9 (patch)
treed868735205c1a6f4852d4700fe255692de8165e1 /addressbook
parent0885119ef7c4bf7123d822e001c99c15e0fffcae (diff)
downloadgsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.gz
gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.zst
gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.zip
Fix for bug #353752
svn path=/trunk/; revision=33777
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c4
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);