aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-folder-view.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 14ea420c04..84bd2414eb 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-31 Matthew Barnes <mbarnes@redhat.com>
+
+ * em-folder-view.c: (emfv_setup_view_instance)
+ Abort if ETable specification file fails to load.
+
2007-06-22 Milan Crha <mcrha@redhat.com>
** Fix for bug #307410
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 56efc8c345..80bcd32245 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -541,7 +541,9 @@ emfv_setup_view_instance(EMFolderView *emfv)
etspecfile = g_build_filename (EVOLUTION_ETSPECDIR,
"message-list.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 mail");
g_free (etspecfile);
factory = gal_view_factory_etable_new (spec);