mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
also revert change in how the dialog's vbox was added (bug #539732).
2008-06-24 Michael Natterer <mitch@imendio.com> * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how the dialog's vbox was added (bug #539732). svn path=/trunk/; revision=20681
This commit is contained in:
parent
60e1b3ea89
commit
24c0eb5d39
@ -1,3 +1,8 @@
|
||||
2008-06-24 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
|
||||
the dialog's vbox was added (bug #539732).
|
||||
|
||||
2008-06-24 Carlos Garnacho <carlos@imendio.com>
|
||||
|
||||
* gtk/gtkdialog.[ch]: Remove container implementation, which isn't
|
||||
|
@ -256,18 +256,16 @@ gtk_dialog_init (GtkDialog *dialog)
|
||||
"delete_event",
|
||||
G_CALLBACK (gtk_dialog_delete_event_handler),
|
||||
NULL);
|
||||
|
||||
|
||||
dialog->vbox = gtk_vbox_new (FALSE, 0);
|
||||
|
||||
/* gtk_container_add () from superclass */
|
||||
GTK_CONTAINER_CLASS (gtk_dialog_parent_class)->add (GTK_CONTAINER (dialog),
|
||||
dialog->vbox);
|
||||
gtk_container_add (GTK_CONTAINER (dialog), dialog->vbox);
|
||||
gtk_widget_show (dialog->vbox);
|
||||
|
||||
dialog->action_area = gtk_hbutton_box_new ();
|
||||
|
||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog->action_area),
|
||||
GTK_BUTTONBOX_END);
|
||||
GTK_BUTTONBOX_END);
|
||||
|
||||
gtk_box_pack_end (GTK_BOX (dialog->vbox), dialog->action_area,
|
||||
FALSE, TRUE, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user