Make 'Clear' the default button for Clear Private Data
This commit is contained in:
parent
ce64fd3e25
commit
2bc7fbac24
1 changed files with 1 additions and 0 deletions
|
@ -4329,6 +4329,7 @@ _action_clear_private_data_activate (GtkAction* action,
|
||||||
g_signal_connect (dialog, "destroy",
|
g_signal_connect (dialog, "destroy",
|
||||||
G_CALLBACK (gtk_widget_destroyed), &dialog);
|
G_CALLBACK (gtk_widget_destroyed), &dialog);
|
||||||
gtk_widget_show (dialog);
|
gtk_widget_show (dialog);
|
||||||
|
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
gtk_window_present (GTK_WINDOW (dialog));
|
gtk_window_present (GTK_WINDOW (dialog));
|
||||||
|
|
Loading…
Reference in a new issue