aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2004-05-05 12:07:07 +0800
committerLarry Ewing <lewing@src.gnome.org>2004-05-05 12:07:07 +0800
commitd0967f5098f247ff60eda44097568eff590af66e (patch)
tree6d694adeeb74707ce295b94e1d5a4be94033927f
parent177d079544c613add80ad1c6ec076afadc49dd82 (diff)
downloadgsoc2013-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
-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");