X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-properties-dialog.c;h=16494e167ea20e19f32739c0d803e2d3e6cd67e5;hb=f343927df4325959193353c52cff1ea4b20b2286;hp=7bf20e17191d8a4b6d30fef2819fd0d0a975a399;hpb=bbc6a0f5736ed843754902eb9a829dd5e173e1ac;p=evince.git diff --git a/shell/ev-properties-dialog.c b/shell/ev-properties-dialog.c index 7bf20e17..16494e16 100644 --- a/shell/ev-properties-dialog.c +++ b/shell/ev-properties-dialog.c @@ -61,12 +61,16 @@ 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), 2); gtk_dialog_add_button (GTK_DIALOG (properties), GTK_STOCK_CLOSE, - GTK_RESPONSE_ACCEPT); + GTK_RESPONSE_CANCEL); + gtk_dialog_set_default_response (GTK_DIALOG (properties), + GTK_RESPONSE_CANCEL); 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); @@ -104,7 +108,8 @@ ev_properties_dialog_set_document (EvPropertiesDialog *properties, gtk_widget_show (properties->fonts_page); } - ev_properties_fonts_set_document (EV_PROPERTIES_FONTS (properties->fonts_page), document); + ev_properties_fonts_set_document + (EV_PROPERTIES_FONTS (properties->fonts_page), document); } }