aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog4
-rw-r--r--addressbook/gui/component/e-select-names.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 4dc536ccf1..93d7fc1de3 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,9 @@
2000-06-11 Christopher James Lahey <clahey@helixcode.com>
+ * gui/component/e-select-names.c: Fixed the widget reparenting.
+
+2000-06-11 Christopher James Lahey <clahey@helixcode.com>
+
* gui/component/Makefile.am: Added glade files.
* gui/component/addressbook.c: Added a test of the Select Names
diff --git a/addressbook/gui/component/e-select-names.c b/addressbook/gui/component/e-select-names.c
index b92c842844..517d071ede 100644
--- a/addressbook/gui/component/e-select-names.c
+++ b/addressbook/gui/component/e-select-names.c
@@ -165,8 +165,10 @@ e_select_names_init (ESelectNames *e_select_names)
if (!widget) {
return;
}
- gtk_widget_reparent(widget,
- GTK_WIDGET(e_select_names));
+ gtk_widget_ref(widget);
+ gtk_widget_unparent(widget);
+ gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(e_select_names)->vbox), widget, TRUE, TRUE, 0);
+ gtk_widget_unref(widget);
gnome_dialog_append_buttons(GNOME_DIALOG(e_select_names),
GNOME_STOCK_BUTTON_OK,