diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-11 12:57:47 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-11 12:57:47 +0800 |
commit | 57067e5c76ea8a96d05201711c83236bbdc240d7 (patch) | |
tree | f51eb053dd64b5b48cd860dc575bf61a8232e51e | |
parent | 07707b81afe216c617fead536a69b98d638f0e19 (diff) | |
download | gsoc2013-evolution-57067e5c76ea8a96d05201711c83236bbdc240d7.tar gsoc2013-evolution-57067e5c76ea8a96d05201711c83236bbdc240d7.tar.gz gsoc2013-evolution-57067e5c76ea8a96d05201711c83236bbdc240d7.tar.bz2 gsoc2013-evolution-57067e5c76ea8a96d05201711c83236bbdc240d7.tar.lz gsoc2013-evolution-57067e5c76ea8a96d05201711c83236bbdc240d7.tar.xz gsoc2013-evolution-57067e5c76ea8a96d05201711c83236bbdc240d7.tar.zst gsoc2013-evolution-57067e5c76ea8a96d05201711c83236bbdc240d7.zip |
Fixed the widget reparenting.
2000-06-11 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-select-names.c: Fixed the widget reparenting.
svn path=/trunk/; revision=3521
-rw-r--r-- | addressbook/ChangeLog | 4 | ||||
-rw-r--r-- | addressbook/gui/component/e-select-names.c | 6 |
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, |