From 4763f25379dd0a254b2dba9d9a2ed328c90f1f99 Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Wed, 11 Jul 2001 04:31:43 +0000 Subject: [Fix bug #4388: ETableSpecification still in .c file] 2001-07-10 Jason Leach [Fix bug #4388: ETableSpecification still in .c file] * gui/dialogs/meeting-page.etspec: New file containing the spec that was previously in meeting-page.c as a string. * gui/dialogs/meeting-page.c: One line change to get it to use this spec file instead of a string. * gui/dialogs/Makefile.am: Necessary changes to get the new meeting-page.etspec installed. svn path=/trunk/; revision=10985 --- calendar/gui/dialogs/meeting-page.c | 50 +++---------------------------------- 1 file changed, 4 insertions(+), 46 deletions(-) (limited to 'calendar/gui/dialogs/meeting-page.c') diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index d208feb019..1504c48968 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -55,50 +55,6 @@ #define SELECT_NAMES_OAFID "OAFIID:GNOME_Evolution_Addressbook_SelectNames" -#define MEETING_PAGE_TABLE_SPEC \ - "" \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - " " \ - "" - enum columns { MEETING_ATTENDEE_COL, MEETING_MEMBER_COL, @@ -1183,8 +1139,10 @@ build_etable (MeetingPage *mpage) "append_row", append_row, NULL); - priv->etable = e_table_scrolled_new (priv->model, extras, - MEETING_PAGE_TABLE_SPEC, NULL); + priv->etable = e_table_scrolled_new_from_spec_file (priv->model, + extras, + EVOLUTION_ETSPECDIR "/meeting-page.etspec", + NULL); filename = g_strdup_printf ("%s/config/et-header-meeting-page", evolution_dir); real_table = e_table_scrolled_get_table (E_TABLE_SCROLLED (priv->etable)); -- cgit v1.2.3