fix kickoff "right click => remove app" packagekit integration (#359837)

epel9
Rex Dieter 9 years ago
parent 55e9a71f4a
commit 0ef1fb2791

@ -0,0 +1,32 @@
From 1b5307e78dacea388c18c239a7f4b544686bc748 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <kde@privat.broulik.de>
Date: Fri, 26 Feb 2016 20:41:06 +0100
Subject: [PATCH 14/14] [Kickoff] Add removeApplicationCommand from Kicker
This was forgotten and thus uninstalling applications didn't work
CCBUG: 359837
FIXED-IN: 5.5.5
---
applets/kickoff/package/contents/config/main.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/applets/kickoff/package/contents/config/main.xml b/applets/kickoff/package/contents/config/main.xml
index afd0b6f..5bb97f6 100644
--- a/applets/kickoff/package/contents/config/main.xml
+++ b/applets/kickoff/package/contents/config/main.xml
@@ -24,6 +24,10 @@
<entry name="runners" type="StringList">
<default>services,places,shell,bookmarks,recentdocuments,locations,baloosearch</default>
</entry>
- </group>
+ <entry name="removeApplicationCommand" type="String">
+ <default>muon-discover --application</default>
+ </entry>
+
+ </group>
</kcfg>
--
2.5.0

@ -0,0 +1,11 @@
diff -up plasma-desktop-5.5.4/applets/kicker/plugin/appentry.cpp.PackageKit plasma-desktop-5.5.4/applets/kicker/plugin/appentry.cpp
--- plasma-desktop-5.5.4/applets/kicker/plugin/appentry.cpp.PackageKit 2016-02-26 11:19:47.956302194 -0600
+++ plasma-desktop-5.5.4/applets/kicker/plugin/appentry.cpp 2016-02-26 11:23:50.421393814 -0600
@@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/
+#include <config-workspace.h>
#include "appentry.h"
#include "actionlist.h"
#include "appsmodel.h"

@ -4,7 +4,7 @@
Name: plasma-desktop
Summary: Plasma Desktop shell
Version: 5.5.4
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ and (GPLv2 or GPLv3)
URL: https://projects.kde.org/plasma-desktop
@ -28,8 +28,12 @@ Patch101: plasma-desktop-5.4.0-default_favorites_f22.patch
Patch102: plasma-desktop-fedora_layout.patch
## upstream patches
# http://bugs.kde.org/359837
Patch14: 0014-Kickoff-Add-removeApplicationCommand-from-Kicker.patch
## upstreamable patches
# missing '#include <config-workspace.h>' means PK never used
Patch50: plasma-desktop-PackageKit.patch
BuildRequires: libusb-devel
BuildRequires: fontconfig-devel
@ -156,6 +160,9 @@ BuildArch: noarch
%prep
%setup -q
%patch14 -p1 -b .0014
%patch50 -p1 -b .PackageKit
%if 0%{?fedora} > 22
%patch100 -p1 -b .default_favorites
%else
@ -301,6 +308,9 @@ fi
%changelog
* Fri Feb 26 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.4-3
- fix kickoff "right click => remove app" packagekit integration (#359837)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save