From 3e00c60b5649eb4b8dfad212e819355a2067f2002d73a51414cc2d5d2a595a38 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Tue, 19 Feb 2019 18:29:37 +0000 Subject: [PATCH] - 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 --- ...es-with-NoDisplay-true-with-the-appl.patch | 26 +++++++++++++++++++ plasma5-workspace.changes | 6 +++++ plasma5-workspace.spec | 2 ++ 3 files changed, 34 insertions(+) create mode 100644 0001-Don-t-show-entries-with-NoDisplay-true-with-the-appl.patch diff --git a/0001-Don-t-show-entries-with-NoDisplay-true-with-the-appl.patch b/0001-Don-t-show-entries-with-NoDisplay-true-with-the-appl.patch new file mode 100644 index 0000000..1b7909c --- /dev/null +++ b/0001-Don-t-show-entries-with-NoDisplay-true-with-the-appl.patch @@ -0,0 +1,26 @@ +From 109d262023c45a7ba8448188bfeeb42d7cc98e12 Mon Sep 17 00:00:00 2001 +From: Fabian Vogt +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 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(p.data())); + +-- +2.20.1 + diff --git a/plasma5-workspace.changes b/plasma5-workspace.changes index 3993fd2..2adbe1b 100644 --- a/plasma5-workspace.changes +++ b/plasma5-workspace.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 19 18:25:21 UTC 2019 - Fabian Vogt + +- 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 diff --git a/plasma5-workspace.spec b/plasma5-workspace.spec index 1febb3d..81dfc73 100644 --- a/plasma5-workspace.spec +++ b/plasma5-workspace.spec @@ -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