Fix-the-failure-of-shortcut-key-to-open-terminal
(cherry picked from commit 71fda3e60a59127bc047aa148c997168e0dbe17e)
This commit is contained in:
parent
dba983cdd2
commit
0a110bd942
29
Fix-the-failure-of-shortcut-key-to-open-terminal.patch
Normal file
29
Fix-the-failure-of-shortcut-key-to-open-terminal.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 02b63ef64da86153c93e96b59ab55c95b0167ffd Mon Sep 17 00:00:00 2001
|
||||||
|
From: peijiankang <peijiankang@kylinos.cn>
|
||||||
|
Date: Sun, 25 Jun 2023 15:57:27 +0900
|
||||||
|
Subject: [PATCH] Fix the failure of shortcut key to open terminal
|
||||||
|
|
||||||
|
---
|
||||||
|
plugins/media-keys/mediakey-manager.cpp | 6 +-----
|
||||||
|
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/media-keys/mediakey-manager.cpp b/plugins/media-keys/mediakey-manager.cpp
|
||||||
|
index 99f66b6..deca341 100644
|
||||||
|
--- a/plugins/media-keys/mediakey-manager.cpp
|
||||||
|
+++ b/plugins/media-keys/mediakey-manager.cpp
|
||||||
|
@@ -2165,11 +2165,7 @@ void MediaKeysManager::doOnScreenKeyboardAction()
|
||||||
|
|
||||||
|
void MediaKeysManager::doOpenTerminalAction()
|
||||||
|
{
|
||||||
|
- if(UsdBaseClass::isTablet()) {
|
||||||
|
- executeCommand("mate-terminal","");
|
||||||
|
- } else {
|
||||||
|
- executeCommand("x-terminal-emulator","");
|
||||||
|
- }
|
||||||
|
+ executeCommand("mate-terminal","");
|
||||||
|
}
|
||||||
|
|
||||||
|
void MediaKeysManager::doScreenshotAction(const QString pramater)
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,11 +1,12 @@
|
|||||||
Name: ukui-settings-daemon
|
Name: ukui-settings-daemon
|
||||||
Version: 3.1.2
|
Version: 3.1.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: daemon handling the UKUI session settings
|
Summary: daemon handling the UKUI session settings
|
||||||
License: GPL-2.0-or-later and GPL-3.0-or-later and LGPL-2.0-or-later
|
License: GPL-2.0-or-later and GPL-3.0-or-later and LGPL-2.0-or-later
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch1: 0001-modify-compile-error-of-ukui-settings-daemon.patch
|
Patch1: 0001-modify-compile-error-of-ukui-settings-daemon.patch
|
||||||
|
Patch2: Fix-the-failure-of-shortcut-key-to-open-terminal.patch
|
||||||
|
|
||||||
BuildRequires: pkgconf-pkg-config
|
BuildRequires: pkgconf-pkg-config
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
@ -86,6 +87,7 @@ Summary: daemon handling the UKUI session settings (common files)
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{qmake_qt5}
|
%{qmake_qt5}
|
||||||
@ -131,6 +133,12 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 25 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-4
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: add Fix-the-failure-of-shortcut-key-to-open-terminal.patch
|
||||||
|
|
||||||
* Wed Jan 18 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-3
|
* Wed Jan 18 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-3
|
||||||
- add build debuginfo and debugsource
|
- add build debuginfo and debugsource
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user