diff options
author | Larry Ewing <lewing@ximian.com> | 2004-05-05 12:07:07 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2004-05-05 12:07:07 +0800 |
commit | d0967f5098f247ff60eda44097568eff590af66e (patch) | |
tree | 6d694adeeb74707ce295b94e1d5a4be94033927f /addressbook/gui | |
parent | 177d079544c613add80ad1c6ec076afadc49dd82 (diff) | |
download | gsoc2013-evolution-d0967f5098f247ff60eda44097568eff590af66e.tar.gz gsoc2013-evolution-d0967f5098f247ff60eda44097568eff590af66e.tar.zst gsoc2013-evolution-d0967f5098f247ff60eda44097568eff590af66e.zip |
fixup the dialog initialization.
2004-05-04 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook-config.c (query_for_supported_bases):
fixup the dialog initialization.
svn path=/trunk/; revision=25797
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 6 |
1 files changed, 4 insertions, 2 deletions
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"); |