From d0967f5098f247ff60eda44097568eff590af66e Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Wed, 5 May 2004 04:07:07 +0000 Subject: fixup the dialog initialization. 2004-05-04 Larry Ewing * gui/component/addressbook-config.c (query_for_supported_bases): fixup the dialog initialization. svn path=/trunk/; revision=25797 --- addressbook/gui/component/addressbook-config.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index 8dfdb473b8..d3ab88470c 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -853,14 +853,16 @@ query_for_supported_bases (GtkWidget *button, AddressbookSourceDialog *sdialog) GtkWidget *dialog; GtkWidget *supported_bases_table; ETableModel *model; + GladeXML *gui; int id; char **values; source = dialog_to_temp_source (sdialog); - dialog = glade_xml_get_widget (sdialog->gui, "supported-bases-dialog"); + gui = glade_xml_new (EVOLUTION_GLADEDIR "/" GLADE_FILE_NAME, "supported-bases-dialog", NULL); + dialog = glade_xml_get_widget (gui, "supported-bases-dialog"); - supported_bases_table = glade_xml_get_widget (sdialog->gui, "supported-bases-table"); + supported_bases_table = glade_xml_get_widget (gui, "supported-bases-table"); gtk_widget_show (supported_bases_table); selection_model = e_table_get_selection_model (e_table_scrolled_get_table (E_TABLE_SCROLLED(supported_bases_table))); model = g_object_get_data (G_OBJECT (supported_bases_table), "model"); -- cgit v1.2.3