Remove Ctrl+q shortcut from shortcuts page

because it does nothing.

Resolves: #2006768
This commit is contained in:
Marek Kasik 2021-11-02 10:30:26 +01:00
parent 404dbba7d7
commit e5e8248731
2 changed files with 40 additions and 1 deletions

View File

@ -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

View File

@ -4,7 +4,7 @@
Name: evince
Version: 40.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Document viewer
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
@ -14,6 +14,9 @@ Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{version}
# https://bugzilla.redhat.com/show_bug.cgi?id=1975150
Patch1: evince-40.1-covscan.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2006768
Patch2: evince-40.4-quit-shortcut.patch
BuildRequires: gcc-c++
BuildRequires: gcc
BuildRequires: gettext-devel
@ -266,6 +269,11 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_mandir}/man1/evince-previewer.1*
%changelog
* Tue Nov 02 2021 Marek Kasik <mkasik@redhat.com> - 40.4-3
- Remove Ctrl+q shortcut from shortcuts page
- because it does nothing.
- Resolves: #2006768
* Wed Sep 15 2021 Marek Kasik <mkasik@redhat.com> - 40.4-2
- Remove metainfo for plugins since they are not real addons
- Resolves: #2001781