commit:     e4463c85aa0567dfff79349fadbc1fe584d0445d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 14:28:42 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 14:29:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4463c85

kde-plasma/kwin: Add missing patch

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/kwin-5.26.80-gstreamer-optional.patch    | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/kde-plasma/kwin/files/kwin-5.26.80-gstreamer-optional.patch 
b/kde-plasma/kwin/files/kwin-5.26.80-gstreamer-optional.patch
new file mode 100644
index 000000000000..268d88a09cdb
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-5.26.80-gstreamer-optional.patch
@@ -0,0 +1,25 @@
+From e15641e466b4802f73b34ea2e510df7f78c50afd Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <[email protected]>
+Date: Tue, 6 Aug 2019 22:36:44 +0200
+Subject: [PATCH] Disable the effect video button if gstreamer is missing
+
+---
+ src/kcms/effects/package/contents/ui/Effect.qml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/kcms/effects/package/contents/ui/Effect.qml 
b/src/kcms/effects/package/contents/ui/Effect.qml
+index f8a36c03e..ce673728e 100644
+--- a/src/kcms/effects/package/contents/ui/Effect.qml
++++ b/src/kcms/effects/package/contents/ui/Effect.qml
+@@ -116,7 +116,7 @@ Kirigami.SwipeListItem {
+     }
+     actions: [
+         Kirigami.Action {
+-            visible: model.VideoRole.toString() !== ""
++            visible: false
+             icon.name: "videoclip-amarok"
+             tooltip: i18nc("@info:tooltip", "Show/Hide Video")
+             onTriggered: videoItem.showHide()
+-- 
+2.39.0
+

Reply via email to