aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-05-28 09:24:41 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-28 09:24:41 +0800
commita40da8d5704e3c3eed1cc9fd9d5bf9eab554a7db (patch)
tree78f9d128af96e0ed1cbc26992c1536dfd1be9cc0 /mail/folder-browser-factory.c
parentbb076508f07b6fa4ee2a1534d727659dd7b06cc7 (diff)
downloadgsoc2013-evolution-a40da8d5704e3c3eed1cc9fd9d5bf9eab554a7db.tar.gz
gsoc2013-evolution-a40da8d5704e3c3eed1cc9fd9d5bf9eab554a7db.tar.zst
gsoc2013-evolution-a40da8d5704e3c3eed1cc9fd9d5bf9eab554a7db.zip
Removed the etable spec string. (message_list_construct): Load the etable
2001-05-27 Jeffrey Stedfast <fejj@ximian.com> * message-list.c: Removed the etable spec string. (message_list_construct): Load the etable spec from a file. * folder-browser-factory.c: Load the etable spec from the file, not a string. * Makefile.am: Add message-list.etspec to be installed. * message-list.etspec: New file containing the ETable file specification. * mail-config.h: Prototype evolution_mail_config_get_type. svn path=/trunk/; revision=10025
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index f76c858b05..e9bd4adc87 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -155,7 +155,7 @@ folder_browser_setup_view_menus (FolderBrowser *fb,
GalViewMenus *views;
GalViewFactory *factory;
ETableSpecification *spec;
- char *spec_string, *local_dir;
+ char *local_dir;
collection = gal_view_collection_new();
/* FIXME: Memory leak. */
@@ -167,10 +167,8 @@ folder_browser_setup_view_menus (FolderBrowser *fb,
local_dir);
g_free (local_dir);
- spec_string = message_list_get_layout(fb->message_list);
spec = e_table_specification_new();
- e_table_specification_load_from_string(spec, spec_string);
- g_free(spec_string);
+ e_table_specification_load_from_file(spec, EVOLUTION_ETSPECDIR "/message-list.etspec");
factory = gal_view_factory_etable_new(spec);
gal_view_collection_add_factory(collection, factory);