[nautilus] Use "Cancel" as default response when activating a broken link (#341595)



commit 5348820067ab62dd3fcac78f0acc0fef869cc2a1
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun May 2 17:32:30 2010 +0200

    Use "Cancel" as default response when activating a broken link (#341595)

 libnautilus-private/nautilus-mime-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-mime-actions.c b/libnautilus-private/nautilus-mime-actions.c
index 97020f6..eb7aae4 100644
--- a/libnautilus-private/nautilus-mime-actions.c
+++ b/libnautilus-private/nautilus-mime-actions.c
@@ -718,7 +718,7 @@ report_broken_symbolic_link (GtkWindow *parent_window, NautilusFile *file)
 	dialog = eel_show_yes_no_dialog (prompt, detail, _("Mo_ve to Trash"), GTK_STOCK_CANCEL,
 					 parent_window);
 
-	gtk_dialog_set_default_response (dialog, GTK_RESPONSE_YES);
+	gtk_dialog_set_default_response (dialog, GTK_RESPONSE_CANCEL);
 
 	/* Make this modal to avoid problems with reffing the view & file
 	 * to keep them around in case the view changes, which would then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]