+2005-07-05 Christian Persch <chpe@cvs.gnome.org>
+
+ * 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.
+
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* shell/ev-properties-dialog.c
if (info->fields_mask & EV_DOCUMENT_INFO_FORMAT) {
text = g_strdup_printf ("%s", info->format);
set_property (xml, FORMAT_PROPERTY, text);
+ g_free (text);
}
if (info->fields_mask & EV_DOCUMENT_INFO_N_PAGES) {
text = g_strdup_printf ("%d", info->n_pages);
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);