]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-properties-dialog.c
Updated Czech translation.
[evince.git] / shell / ev-properties-dialog.c
index c34bb826840392ed970ce4b66643df032cb181f9..f4431a54b283e3f2138869fecf37a2aca911c788 100644 (file)
@@ -66,6 +66,8 @@ ev_properties_dialog_init (EvPropertiesDialog *properties)
 
        gtk_dialog_add_button (GTK_DIALOG (properties), GTK_STOCK_CLOSE,
                               GTK_RESPONSE_ACCEPT);
 
        gtk_dialog_add_button (GTK_DIALOG (properties), GTK_STOCK_CLOSE,
                               GTK_RESPONSE_ACCEPT);
+       gtk_dialog_set_default_response (GTK_DIALOG (properties), 
+                                        GTK_RESPONSE_ACCEPT);
 
        properties->notebook = gtk_notebook_new ();
        gtk_container_set_border_width (GTK_CONTAINER (properties->notebook), 5);
 
        properties->notebook = gtk_notebook_new ();
        gtk_container_set_border_width (GTK_CONTAINER (properties->notebook), 5);
@@ -106,7 +108,8 @@ ev_properties_dialog_set_document (EvPropertiesDialog *properties,
                        gtk_widget_show (properties->fonts_page);
                }
 
                        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);
        }
 }
 
        }
 }