diff --git a/gtk/stats.c b/gtk/stats.c index 9cdbdde17..ff5c6aeb2 100644 --- a/gtk/stats.c +++ b/gtk/stats.c @@ -114,8 +114,14 @@ stats_dialog_create( GtkWindow * parent, TrCore * core ) parent, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CLEAR, TR_RESPONSE_CLEAR, - GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, + GTK_STOCK_OK, GTK_RESPONSE_CLOSE, NULL ); + gtk_dialog_set_default_response( GTK_DIALOG( d ), + GTK_RESPONSE_CLOSE ); + gtk_dialog_set_alternative_button_order( GTK_DIALOG( d ), + GTK_RESPONSE_CLOSE, + TR_RESPONSE_CLEAR, + -1 ); t = hig_workarea_create( ); gtk_box_pack_start_defaults( GTK_BOX(GTK_DIALOG(d)->vbox), t ); ui->core = core;