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:
parent
e5efd1a792
commit
1b2d81d373
1 changed files with 94 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue