From 26a8622fe284cd0e4531caa56f918d7cfaf8037b Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 05 Jul 2005 15:08:35 +0000 Subject: Plug a mem leak. HIG spacings. 2005-07-05 Christian Persch * properties/ev-properties-view.c: (ev_properties_view_set_info): Plug a mem leak. * shell/ev-properties-dialog.c: (ev_properties_dialog_init): HIG spacings. --- (limited to 'shell/ev-properties-dialog.c') diff --git a/shell/ev-properties-dialog.c b/shell/ev-properties-dialog.c index 7bf20e1..c34bb82 100644 --- a/shell/ev-properties-dialog.c +++ b/shell/ev-properties-dialog.c @@ -61,12 +61,14 @@ ev_properties_dialog_init (EvPropertiesDialog *properties) gtk_window_set_title (GTK_WINDOW (properties), _("Properties")); gtk_window_set_destroy_with_parent (GTK_WINDOW (properties), TRUE); gtk_dialog_set_has_separator (GTK_DIALOG (properties), FALSE); - gtk_container_set_border_width (GTK_CONTAINER (properties), 5); + gtk_container_set_border_width (GTK_CONTAINER (properties), 5); + gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (properties)->vbox), 12); gtk_dialog_add_button (GTK_DIALOG (properties), GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT); properties->notebook = gtk_notebook_new (); + gtk_container_set_border_width (GTK_CONTAINER (properties->notebook), 5); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (properties)->vbox), properties->notebook, TRUE, TRUE, 0); gtk_widget_show (properties->notebook); -- cgit v0.9.1