- Add patch to honour NoDisplay in the applauncher containmentaction (boo#1125901):

* 0001-Don-t-show-entries-with-NoDisplay-true-with-the-appl.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=439
This commit is contained in:
Fabian Vogt 2019-02-19 18:29:37 +00:00 committed by Git OBS Bridge
parent 7c755e2271
commit 3e00c60b56
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From 109d262023c45a7ba8448188bfeeb42d7cc98e12 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Tue, 19 Feb 2019 14:21:56 +0100
Subject: [PATCH] Don't show entries with NoDisplay=true with the applauncher
containmentaction
---
containmentactions/applauncher/launch.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/containmentactions/applauncher/launch.cpp b/containmentactions/applauncher/launch.cpp
index 4f70337a..a06eaa9a 100644
--- a/containmentactions/applauncher/launch.cpp
+++ b/containmentactions/applauncher/launch.cpp
@@ -49,7 +49,7 @@ QList<QAction*> AppLauncher::contextualActions()
void AppLauncher::makeMenu(QMenu *menu, const KServiceGroup::Ptr group)
{
- foreach (KSycocaEntry::Ptr p, group->entries(true, false, true)) {
+ foreach (KSycocaEntry::Ptr p, group->entries(true, true, true)) {
if (p->isType(KST_KService)) {
const KService::Ptr service(static_cast<KService*>(p.data()));
--
2.20.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 19 18:25:21 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to honour NoDisplay in the applauncher containmentaction (boo#1125901):
* 0001-Don-t-show-entries-with-NoDisplay-true-with-the-appl.patch
-------------------------------------------------------------------
Tue Feb 19 12:26:38 UTC 2019 - fabian@ritter-vogt.de

View File

@ -40,6 +40,8 @@ Source2: plasma.keyring
%endif
Source3: baselibs.conf
# PATCHES 000-100 and above are from upstream 5.12 branch
# https://phabricator.kde.org/D19157
Patch0: 0001-Don-t-show-entries-with-NoDisplay-true-with-the-appl.patch
# PATCHES 101-500 are from upstream master/5.13 branch
# PATCHES 501-??? are PATCH-FIX-OPENSUSE
# PATCH-FIX-OPENSUSE 0001-Rename-qdbus-in-startkde.patch cgiboudeaux@gmx.com -- Rename the qdbus executable in startkde