Philipp Hörist pushed to branch master at gajim / gajim
Commits: f8767a40 by lovetox at 2022-01-24T00:35:56+01:00 Notifications: Add more logging
- - - - -
1 changed file:
- gajim/gtk/notification.py
Changes:
===================================== gajim/gtk/notification.py ===================================== @@ -291,6 +291,7 @@ def _send(self, event: events.Notification) -> None: self._add_actions(event, notification) notification_id = self._make_notification_id(event)
+ log.info('Sending notification: %s', notification_id) app.app.send_notification(notification_id, notification)
def _add_actions(self, @@ -360,6 +361,8 @@ def _withdraw(self, details: list[Any]) -> None: if not self._dbus_available: return notification_id = self._make_id(details) + + log.info('Withdraw notification: %s', notification_id) app.app.withdraw_notification(notification_id)
@staticmethod
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f8767a4051350aff130ad4a2f84aa36c9...