Merge lp:~donadigo/wingpanel-indicator-notifications/close-notification-support-new into lp:~wingpanel-devs/wingpanel-indicator-notifications/wingpanel-indicator-notifications
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Corentin Noël | ||||
Approved revision: | 128 | ||||
Merged at revision: | 126 | ||||
Proposed branch: | lp:~donadigo/wingpanel-indicator-notifications/close-notification-support-new | ||||
Merge into: | lp:~wingpanel-devs/wingpanel-indicator-notifications/wingpanel-indicator-notifications | ||||
Diff against target: |
251 lines (+95/-46) 5 files modified
src/Indicator.vala (+15/-1) src/Services/Notification.vala (+5/-0) src/Services/NotificationsMonitor.vala (+69/-45) src/Widgets/NotificationEntry.vala (+2/-0) src/Widgets/NotificationsList.vala (+4/-0) |
||||
To merge this branch: | bzr merge lp:~donadigo/wingpanel-indicator-notifications/close-notification-support-new | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Corentin Noël | Approve | ||
Review via email: mp+312735@code.launchpad.net |
Commit message
Add support for withdrawing the notifications from the indicator
Description of the change
Fixes bug #1631470: "Allow apps to withdraw a notification".
This branch adds support for withdrawing the notifications from the indicator. Note, that this will not work at the moment with GLib based applications, this is issue within the GLib itself, more info and patch here: https:/
Changes include the removal of hacky sending the notification to the server by the indicator to determine the notification ID. This is now done by waiting for server to return the ID of the notification and then it gets displayed in the UI. This doesn't change the time the notification arrives in the indicator, we only wait for the response, not the actual show / hide of the notification, that's up to the server.
Please test extensively.
Everything seems nice here