Fix changing of visibility for system tray entries

epel9
Jan Grulich 9 years ago
parent 0c98f2353f
commit eb7ad37c82

@ -0,0 +1,13 @@
diff --git a/applets/systemtray/package/contents/ui/ConfigEntries.qml b/applets/systemtray/package/contents/ui/ConfigEntries.qml
index 4001d39..e848ae3 100644
--- a/applets/systemtray/package/contents/ui/ConfigEntries.qml
+++ b/applets/systemtray/package/contents/ui/ConfigEntries.qml
@@ -94,7 +94,7 @@ QtLayouts.GridLayout {
var shownIndex = cfg_shownItems.indexOf(modelData.taskId);
var hiddenIndex = cfg_hiddenItems.indexOf(modelData.taskId);
- switch (index) {
+ switch (currentIndex) {
case 0: {
if (shownIndex > -1) {
cfg_shownItems.splice(shownIndex, 1);

@ -11,7 +11,7 @@
Name: plasma-workspace Name: plasma-workspace
Summary: Plasma workspace, applications and applets Summary: Plasma workspace, applications and applets
Version: 5.4.3 Version: 5.4.3
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://projects.kde.org/projects/kde/workspace/plasma-workspace URL: https://projects.kde.org/projects/kde/workspace/plasma-workspace
@ -39,6 +39,10 @@ Patch11: plasma-workspace-5.3.0-set-fedora-default-look-and-feel.patch
Patch12: startkde.patch Patch12: startkde.patch
Patch13: plasma-workspace-5.4.2-prison-qt5.patch Patch13: plasma-workspace-5.4.2-prison-qt5.patch
# reverted fix which should not have gone to 5.4 branch
# kdebz#355404
Patch14: fix-changing-visibility-systemtray-entries.patch
## upstreamable Patches ## upstreamable Patches
Patch1: kde-runtime-4.9.0-installdbgsymbols.patch Patch1: kde-runtime-4.9.0-installdbgsymbols.patch
@ -349,6 +353,7 @@ sed -i -e "s|@DEFAULT_LOOKANDFEEL@|%{?default_lookandfeel}%{!?default_lookandfee
%if 0%{?prison} %if 0%{?prison}
%patch13 -p1 -b .prison-qt5 %patch13 -p1 -b .prison-qt5
%endif %endif
%patch14 -p1 -b .fix-changing-visibility-systemtray-entries
%patch100 -p1 -b .0001 %patch100 -p1 -b .0001
%patch105 -p1 -b .0005 %patch105 -p1 -b .0005
@ -566,6 +571,10 @@ fi
%changelog %changelog
* Mon Nov 16 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.3-3
- Fix changing of visibility for system tray entries
Resolves: kdebz#355404
* Wed Nov 11 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.3-2 * Wed Nov 11 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.3-2
- refresh xembedsniproxy support (#1280457) - refresh xembedsniproxy support (#1280457)

Loading…
Cancel
Save