7034d8759d
This commit adds a badge to the tray icon that displays the number of unread messages, if there is any. It is implemented by providing alternative versions of the icon, that replace the default image when a message is received. The badge is rendered graphically as a red circle containing the number of unread messages. Since a different icon file is needed for each possible number of unread messages, but this number is clearly unbounded, only the numbers from 1 to 9 are provided. If there are 10 or more unread messages, a single badge (depicted as "9+") is used. Resolves #1917 |
||
---|---|---|
.. | ||
1.png | ||
2.png | ||
3.png | ||
4.png | ||
5.png | ||
6.png | ||
7.png | ||
8.png | ||
9.png | ||
10.png |