summaryrefslogtreecommitdiff
path: root/lib/notifd/notification.vala
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-10-29 18:10:07 +0000
committerAylur <[email protected]>2024-10-29 18:26:54 +0000
commit479e85aca3dfc60f92f3d98ec82a5d58607e24db (patch)
treee68aa39ff5def49312b64d92d064b942ee794bc6 /lib/notifd/notification.vala
parent8705ab494f448c508c43c4272b501a3f3bdbac70 (diff)
fixup(notifd): make dismissed signal internal
its used only internally, the resolved signal is meant to be the public api
Diffstat (limited to 'lib/notifd/notification.vala')
-rw-r--r--lib/notifd/notification.vala12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/notifd/notification.vala b/lib/notifd/notification.vala
index 527a352..29c6c56 100644
--- a/lib/notifd/notification.vala
+++ b/lib/notifd/notification.vala
@@ -158,12 +158,6 @@ public class AstalNotifd.Notification : Object {
*/
public signal void resolved(ClosedReason reason);
- /**
- * Emitted when the user dismisses this notification.
- *
- * @see dismiss
- */
- public signal void dismissed();
/**
* Emitted when an [[email protected]] of this notification is invoked.
@@ -173,12 +167,10 @@ public class AstalNotifd.Notification : Object {
public signal void invoked(string action_id);
/**
- * Dismiss this notification popup
- *
- * This method doesn't have any functionality on its own, but should be handled
- * by frontend implementation to hide notification popups.
+ * Resolve this notification with [[email protected]_BY_USER].
*/
public void dismiss() { dismissed(); }
+ internal signal void dismissed();
/**
* Invoke an [[email protected]] of this notification.