Improve tray icon notification behavior
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 10 Sep 2009 19:26:16 +0000 (21:26 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 10 Sep 2009 19:31:24 +0000 (21:31 +0200)
commit231d30c66b4f52d239deb608f77a0ceb8034fbe9
tree34c6193760d9b74447566bb48751f7a1c2487b7f
parent14a1ee538d01e41dc55a6e733a7804930aa9fff8
Improve tray icon notification behavior

The tray icon now blinks as long as there are still buffers with unread highlights. As
added bonus, repeated clicks on the tray icon now switch to the next highlighted buffer in
line (rather than hiding the window).

Also, notifications (in KDE) will be properly closed as soon as you switch to the appropriate
buffer.

After all highlighted buffers have been visited, the icon stops blinking. Fixes #720.
src/qtui/knotificationbackend.cpp
src/qtui/knotificationbackend.h
src/qtui/systraynotificationbackend.cpp
src/qtui/systraynotificationbackend.h