summaryrefslogtreecommitdiff
path: root/evince-40.4-quit-shortcut.patch
diff options
context:
space:
mode:
Diffstat (limited to 'evince-40.4-quit-shortcut.patch')
-rw-r--r--evince-40.4-quit-shortcut.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/evince-40.4-quit-shortcut.patch b/evince-40.4-quit-shortcut.patch
new file mode 100644
index 0000000..49a4659
--- /dev/null
+++ b/evince-40.4-quit-shortcut.patch
@@ -0,0 +1,31 @@
+From ad28a28e94c63c9ed44d01cf274e487ec85f2a46 Mon Sep 17 00:00:00 2001
+From: Marek Kasik <mkasik@redhat.com>
+Date: Wed, 13 Oct 2021 11:00:07 +0200
+Subject: [PATCH] Remove "Quit" from shortcuts page
+
+The shortcut "Ctrl + q" does not do anything.
+---
+ shell/help-overlay.ui | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/shell/help-overlay.ui b/shell/help-overlay.ui
+index d2057348..ced1dd56 100644
+--- a/shell/help-overlay.ui
++++ b/shell/help-overlay.ui
+@@ -396,13 +396,6 @@
+ <property name="accelerator">&lt;Primary&gt;W</property>
+ </object>
+ </child>
+- <child>
+- <object class="GtkShortcutsShortcut">
+- <property name="visible">True</property>
+- <property name="title" translatable="yes" context="shortcut window">Quit</property>
+- <property name="accelerator">&lt;Primary&gt;Q</property>
+- </object>
+- </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+--
+2.31.1
+