Browse Source

Count new messages and replies to select the statusicon. fixes #197

master
Julio Biason 15 years ago
parent
commit
e83fca73bc
  1. 2
      mitterlib/ui/ui_pygtk.py

2
mitterlib/ui/ui_pygtk.py

@ -728,7 +728,7 @@ class Interface(object):
(self._new_replies_count))
if self._statusicon:
if self._new_message_count == 0:
if (self._new_message_count + self._new_replies_count) == 0:
self._statusicon.set_from_pixbuf(self._images['icon'])
else:
self._statusicon.set_from_pixbuf(self._images['new-messages'])

Loading…
Cancel
Save