aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-config.c6
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");