File Dont-use-Plasma-theme-icons-in-task-icon.patch of Package plasma5-desktop.openSUSE_Leap_42.1_Update
From 4d6ede967bcb7f7f0c602b4e0ba0cf3642e67f80 Mon Sep 17 00:00:00 2001
From: David Rosca <nowrep@gmail.com>
Date: Fri, 19 Feb 2016 16:20:00 +0100
Subject: [PATCH 1/1] TaskManager: Don't use Plasma theme icons in task icon
Summary:
Also disable animation for icon in tooltip (normal Plasma tooltips
no longer have animated icon too).
BUG: 359387
Reviewers: #plasma, hein
Reviewed By: hein
Subscribers: plasma-devel
Projects: #plasma
Differential Revision: https://phabricator.kde.org/D991
(cherry picked from commit 310cffc34156b094c0c68d5002ecd2d2936ac546)
---
applets/taskmanager/package/contents/ui/Task.qml | 1 +
applets/taskmanager/package/contents/ui/ToolTipDelegate.qml | 2 ++
2 files changed, 3 insertions(+)
diff --git a/applets/taskmanager/package/contents/ui/Task.qml b/applets/taskmanager/package/contents/ui/Task.qml
index ff6bfa9..32c6cdb 100644
--- a/applets/taskmanager/package/contents/ui/Task.qml
+++ b/applets/taskmanager/package/contents/ui/Task.qml
@@ -270,6 +270,7 @@ MouseArea {
active: task.containsMouse || task.showingContextMenu
enabled: true
+ usesPlasmaTheme: false
source: model.DecorationRole
diff --git a/applets/taskmanager/package/contents/ui/ToolTipDelegate.qml b/applets/taskmanager/package/contents/ui/ToolTipDelegate.qml
index ac8a255..960fe9a 100644
--- a/applets/taskmanager/package/contents/ui/ToolTipDelegate.qml
+++ b/applets/taskmanager/package/contents/ui/ToolTipDelegate.qml
@@ -142,6 +142,8 @@ Column {
x: _s
width: units.iconSizes.desktop
height: width
+ animated: false
+ usesPlasmaTheme: false
source: icon
}
}
--
2.6.2