diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-01-12 20:37:28 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-01-12 20:37:28 +0100 |
commit | 9237f794903449c04a8632061553f34fe945d26c (patch) | |
tree | 87cfa6a8abbd5afe20a19a6420db8f58fbed8f26 | |
parent | 28b2dbcc84ccb553bd02ea8fad2947f0a3effd95 (diff) | |
download | poezio-9237f794903449c04a8632061553f34fe945d26c.tar.gz poezio-9237f794903449c04a8632061553f34fe945d26c.tar.bz2 poezio-9237f794903449c04a8632061553f34fe945d26c.tar.xz poezio-9237f794903449c04a8632061553f34fe945d26c.zip |
Have a notification when someone wants to suscribe to your presence
-rw-r--r-- | src/core.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py index e266fc1e..f984cc1b 100644 --- a/src/core.py +++ b/src/core.py @@ -610,6 +610,8 @@ class Core(object): roster.add_contact(contact, jid) roster.edit_groups_of_contact(contact, []) contact.set_ask('asked') + self.tabs[0].set_color_state(theme.COLOR_TAB_HIGHLIGHT) + self.information('%s wants to subscribe to your presence'%jid) if isinstance(self.current_tab(), tabs.RosterInfoTab): self.refresh_window() |