]> spindle.queued.net Git - midori/commitdiff
Make 'Clear' the default button for Clear Private Data
authorChristian Dywan <christian@twotoasts.de>
Sun, 17 Oct 2010 21:13:54 +0000 (23:13 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 17 Oct 2010 21:13:54 +0000 (23:13 +0200)
midori/midori-browser.c

index e0db67847992c884b70201e39721720599989d3e..9a0b6cec207b24ac1be58de77446a537544f54b7 100644 (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));