Remove notification on CLOSED_BY_CLOSENOTIFICATION (#31)
Co-authored-by: Christopher Lübbemeier <luebbemeier@metaventis.com>
This commit is contained in:
@@ -81,8 +81,9 @@ namespace SwayNotificatonCenter {
|
||||
NotiWindow.instance (dbusInit).close_all_notifications ();
|
||||
}
|
||||
|
||||
// Only remove the popup without removing the it from the panel
|
||||
public void CloseNotification (uint32 id) throws DBusError, IOError {
|
||||
NotiWindow.instance (dbusInit).close_notification (id);
|
||||
dbusInit.ccDaemon.close_notification (id);
|
||||
NotificationClosed (id, ClosedReasons.CLOSED_BY_CLOSENOTIFICATION);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user