splattael/libnotify — pull request #12 by nuisanceofcats (2011-12-31 16:59:10+00:00)
Title: This provides API#update for updating an existing notification

I have written an e-mail checker and it's unnecessary for multiple notifications to stack up for a single e-mail account with an incrementing message count.

With the provided update method a notification is shown (if not shown before or closed) else the notification is updated in place. I've added an rdoc example.

I know that in certain cases updating notifications can lead to undesirable effects such as the notification stack shifting; but I believe for simple counters such as this the update is more desirable.