Make 'Clear' the default button for Clear Private Data

This commit is contained in:
Christian Dywan 2010-10-17 23:13:54 +02:00
parent ce64fd3e25
commit 2bc7fbac24

View file

@ -4329,6 +4329,7 @@ _action_clear_private_data_activate (GtkAction* action,
g_signal_connect (dialog, "destroy",
G_CALLBACK (gtk_widget_destroyed), &dialog);
gtk_widget_show (dialog);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
}
else
gtk_window_present (GTK_WINDOW (dialog));