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

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