stayradiated/LightRead — pull request #5 by simukis (2012-08-09 11:28:14+00:00)
Title: Refine notification behaviour.

Before this commit lightread shows notifications every time they are
updated. This becomes really ugly for gnome-shell users because you
always see backlog of notifications (screenshot), but really no one cares,
how much unread articles you had 2, 5 or 10 notifications ago. Only thing
we care about is most recent number.

![backlog](http://ge.tt/api/1/files/6ObFLlL/0/blob?download)

---

Also fixes showing of notifications every {refresh_time} minutes. Now
notifications will appear only when count of unread notifications
changes.

Last behaviour is a bit questionable, because no notification would be shown
in case user reads 2 articles and then, after update, 2 more articles appears.