primitivus: freedesktop notifications (if available) when somebody is talking to us and we have not focus, or our nick is pinged and we have not focus.

This need python-Xlib to work, if it's not present, notification are silently ignored.
This commit is contained in:
Goffi 2011-08-27 17:15:41 +02:00
commit 1b2d81d373

View file

@ -65,6 +65,9 @@ class QuickChat():
"""Set the nick of the user, usefull for e.g. change the color of the user"""
self.nick = nick
def getUserNick(self):
return unicode(self.nick)
def removeUser(self, nick):
"""Remove a user from the group list"""
debug(_("Removing user %s") % nick)