Blame SOURCES/0007-Replace-the-last-GtkStock-in-overwrite-dialog.patch

e9b09d
From 8ff4b056e8fd371dca868f8967b36c6e9a4590ab Mon Sep 17 00:00:00 2001
e9b09d
From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
e9b09d
Date: Fri, 10 Jul 2020 05:06:38 +0200
e9b09d
Subject: [PATCH 07/18] Replace the last GtkStock in overwrite dialog
e9b09d
e9b09d
Also add a mnemonic for better keyboard access to the overwrite button.
e9b09d
e9b09d
---
e9b09d
 src/gui/engine.cc | 4 ++--
e9b09d
 1 file changed, 2 insertions(+), 2 deletions(-)
e9b09d
e9b09d
diff --git a/src/gui/engine.cc b/src/gui/engine.cc
e9b09d
index c66279e5f498..ff0607490673 100644
e9b09d
--- a/src/gui/engine.cc
e9b09d
+++ b/src/gui/engine.cc
e9b09d
@@ -556,8 +556,8 @@ void save_as(GtkWidget *mainwindow)
e9b09d
                                   "A file named <tt>%s</tt> already exists in folder <tt>%s</tt>.\n\nDo you want to overwrite it?",
e9b09d
                                   basename(buffer1), dirname(buffer2));
e9b09d
         gtk_dialog_add_buttons(GTK_DIALOG(dialog), 
e9b09d
-				  GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
e9b09d
-				  "Overwrite", GTK_RESPONSE_ACCEPT,
e9b09d
+				  "_Cancel", GTK_RESPONSE_CANCEL,
e9b09d
+				  "_Overwrite", GTK_RESPONSE_ACCEPT,
e9b09d
                                   NULL);
e9b09d
         proceed = (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT);
e9b09d
         gtk_widget_destroy (dialog);
e9b09d
-- 
e9b09d
2.17.1
e9b09d