wingpanel-indicator-notifications icon indicating copy to clipboard operation
wingpanel-indicator-notifications copied to clipboard

Support withdrawing notifications

Open cassidyjames opened this issue 4 years ago • 4 comments
trafficstars

Problem

Notifications stack up long after they're relevant, e.g. new mail notifications after all the mail is read, or AppCenter update notifications after you've updated

Proposal

We should support withdrawing notifications

Prior Art

I believe GNOME Shell supports the withdrawl API?

cassidyjames avatar Jun 14 '21 18:06 cassidyjames

There's no withdraw method in GNotification, so I guess we should talk about what the developer story is for this feature

danirabbit avatar Jun 14 '21 20:06 danirabbit

There's no withdraw method in GNotification, so I guess we should talk about what the developer story is for this feature

Isn't applications supossed to use GLib.Application.withdraw_notification for that?

Marukesu avatar Jun 14 '21 21:06 Marukesu

Hey you're smart! Nice to see it is actually supported

danirabbit avatar Jun 14 '21 23:06 danirabbit

One place from where this doesn't work: https://github.com/elementary/appcenter/blob/master/src/Core/Client.vala#L86

vjr avatar Jul 23 '23 05:07 vjr