Notification popup only shows for the first message in a conversation
Bug description
The notification popup only shows up for the first message in a conversation, in earlier versions if I would move the focus away from gajim and a new message arrived I'd still get a new popup notification. This is really bad on gnome3 since the tray-icon is out of view and you'll never realize that someone messaged you unless you focus gajim again.
Steps to reproduce
- Tell someone to send you a message -> popup is shown
- Open a browser or something else in front of gajim
- Wait for the next message in the same conversation -> no popup is shown
Why does this bug happen
NotificationEvent checks for "if not self.first_unread" and then does self.do_popup = False. I am not really sure what first_unread means, eg is that conversation wide or always a marker if you did read the last message etc… If the later is the case it appears as if first_unread isn't set properly.
Software versions
OS version: Debian GNU/Linux wheezy/sid
GTK version: 2.24.13
PyGTK version: 24.0