aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-config.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index c9b95e642a..e44af7f69f 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-04 Larry Ewing <lewing@ximian.com>
+
+ * gui/component/addressbook-config.c (query_for_supported_bases):
+ fixup the dialog initialization.
+
2004-05-04 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (phones_default): Use defaults
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");