Desktop/kde: add patches
This commit is contained in:
parent
b6119bd2cc
commit
09d0847ea4
14 changed files with 2981 additions and 0 deletions
32
roles/kde/patches/plasma-workspace/pr5782.patch
Normal file
32
roles/kde/patches/plasma-workspace/pr5782.patch
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
From 4ab3894d75e1f9c6c7738a893a9b707ff0575953 Mon Sep 17 00:00:00 2001
|
||||
From: Nate Graham <nate@kde.org>
|
||||
Date: Thu, 21 Aug 2025 19:37:33 -0600
|
||||
Subject: [PATCH] notifications: make "you missed some notifications"
|
||||
notification transient
|
||||
|
||||
Its purpose is to direct you to the notifications history. If you're
|
||||
seeing it *in* the notification history, its purpose has been bypassed
|
||||
because you're already where it wanted to take you.
|
||||
|
||||
Don't show it in the notification history.
|
||||
---
|
||||
libnotificationmanager/notifications.cpp | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/libnotificationmanager/notifications.cpp b/libnotificationmanager/notifications.cpp
|
||||
index f68c342e7e9..128665f4de9 100644
|
||||
--- a/libnotificationmanager/notifications.cpp
|
||||
+++ b/libnotificationmanager/notifications.cpp
|
||||
@@ -917,6 +917,9 @@ void Notifications::showInhibitionSummary(Urgency urgency, const QStringList &bl
|
||||
notification->setIconName(u"preferences-desktop-notification-bell"_s);
|
||||
notification->setFlags(KNotification::CloseOnTimeout);
|
||||
notification->setComponentName(u"libnotificationmanager"_s);
|
||||
+ // Don't put it in the history because this doesn't make sense; if you're seeing it
|
||||
+ // in the history, you're seeing the notifications it was telling you about!
|
||||
+ notification->setHint(u"transient"_s, true);
|
||||
|
||||
const QString showNotificationsText = i18nc("@action:button Show the notifications popup", "Show Notifications");
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue