uiutils: Allow show_notification to replace a given notification id

Bug #677352 reported by William Friesen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kupfer
Fix Released
Undecided
Unassigned

Bug Description

For some plugins (such as the Amarok plugin being discussed on the mailing list), it would be a good feature to be able to "update" notifications by replacing them with a new one.

Revision history for this message
William Friesen (william-friesen) wrote :
Revision history for this message
William Friesen (william-friesen) wrote :

In the initial report above I incorrectly said the Amarok plugin, when I meant Volume Control. Here is a copy of the Volume Control plugin that demonstrates how this patch can be used. For example, when activating VolumeUp twice in succession, the first notification will be replaced, rather than adding another to the notification queue.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

Thanks a lot, it's applied. I added a docstring to the function too

Changed in kupfer:
status: New → Fix Committed
Changed in kupfer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.