From bab4ad240f77663e1b9b8707fcc2ecaf30ca091a Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 11 Oct 2004 17:02:40 +0000 Subject: Fixes #45951 2004-10-08 Rodrigo Moya Fixes #45951 * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: attach the description field correctly to the table so that it scrolls correctly instead of making the dialog bigger as you write. * gui/dialogs/comp-editor.c (setup_widgets): no need to create an extra GtkVBox, just use the GtkDialog's one. svn path=/trunk/; revision=27538 --- calendar/gui/dialogs/comp-editor.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'calendar/gui/dialogs/comp-editor.c') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 8d26689eca..49b0a43715 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -384,21 +384,13 @@ static void setup_widgets (CompEditor *editor) { CompEditorPrivate *priv; - GtkWidget *vbox; priv = editor->priv; - /* Basic vbox */ - vbox = gtk_vbox_new (FALSE, GNOME_PAD_SMALL); - gtk_widget_show (vbox); - gtk_container_set_border_width (GTK_CONTAINER (vbox), GNOME_PAD_SMALL); - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (editor)->vbox), vbox, - TRUE, TRUE, 6); - /* Notebook */ priv->notebook = GTK_NOTEBOOK (gtk_notebook_new ()); gtk_widget_show (GTK_WIDGET (priv->notebook)); - gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (priv->notebook), + gtk_box_pack_start (GTK_BOX (GTK_DIALOG (editor)->vbox), GTK_WIDGET (priv->notebook), TRUE, TRUE, 6); /* Buttons */ -- cgit v1.2.3