From 9237f794903449c04a8632061553f34fe945d26c Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 12 Jan 2011 20:37:28 +0100 Subject: [PATCH] Have a notification when someone wants to suscribe to your presence --- src/core.py | 2 ++ 1 file changed, 2 insertions(+) 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()