From f2a3913ffe7df8a38d38a1127cb26d64ac3509b2 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Wed, 9 Oct 2002 23:03:04 +0000 Subject: =?UTF-8?q?[=C2=A0Fix=20#7094,=20#7064,=20#7095,=20#31944,=20#3194?= =?UTF-8?q?5=20]=20Hook=20up=20new=20etspec=20file.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2002-10-10 Kjartan Maraas [ Fix #7094, #7064, #7095, #31944, #31945 ] * gui/component/Makefile.am: Hook up new etspec file. * gui/component/addressbook-config.c: Remove ETable spec. * gui/component/addressbook-config.etspec: New file. * gui/component/ldap-config.glade: Fix typo. * gui/component/select-names/e-select-names.c: Remove inline spec. * gui/component/select-names/e-select-names.etspec: New file. * gui/contact-list-editor/Makefile.am: Hook up etspec. * gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec. * gui/contact-list-editor/e-contact-list-editor.etspec: New file. * gui/widgets/Makefile.am: Hook up new spec. * gui/widgets/e-addressbook-view.c: Remove inline spec. * gui/widgets/e-addressbook-view.etspec: New file. svn path=/trunk/; revision=18361 --- addressbook/gui/contact-list-editor/e-contact-list-editor.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c') diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index 5dd61ebec4..cf185d4957 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -686,14 +686,6 @@ e_contact_list_editor_raise (EContactListEditor *editor) gdk_window_raise (GTK_WIDGET (editor->app)->window); } -#define SPEC " \ - \ - \ - \ - \ - \ -" - GtkWidget * e_contact_list_editor_create_table(gchar *name, gchar *string1, gchar *string2, @@ -710,7 +702,10 @@ e_contact_list_editor_create_table(gchar *name, model = e_contact_list_model_new (); - table = e_table_scrolled_new (model, NULL, SPEC, NULL); + table = e_table_scrolled_new_from_spec_file (model, + NULL, + EVOLUTION_ETSPECDIR "/e-contact-list-editor.etspec", + NULL); gtk_object_set_data(GTK_OBJECT(table), "model", model); -- cgit v1.2.3