summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-17 12:43:56 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-17 12:43:56 +0000
commit17ebb92ece4dc7b45b816bac660fed6ade9db0e7 (patch)
tree24a646067e7ad8df3c31d94dced3959da85d6224 /src/gui.py
parent9c9236eb49caf55f86bd5b7a39ab364f028bc1bf (diff)
downloadpoezio-17ebb92ece4dc7b45b816bac660fed6ade9db0e7.tar.gz
poezio-17ebb92ece4dc7b45b816bac660fed6ade9db0e7.tar.bz2
poezio-17ebb92ece4dc7b45b816bac660fed6ade9db0e7.tar.xz
poezio-17ebb92ece4dc7b45b816bac660fed6ade9db0e7.zip
yet better refresh
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index 9fc649d9..8ee82e59 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -472,7 +472,6 @@ class Gui(object):
A subscription changed, or we received a roster item
after a roster request, etc
"""
- # debug('Roster Update: \n%s\n\n' % iq)
for item in iq.findall('{jabber:iq:roster}query/{jabber:iq:roster}item'):
jid = item.attrib['jid']
contact = self.roster.get_contact_by_jid(jid)
@@ -587,6 +586,7 @@ class Gui(object):
"""
self.current_tab().set_color_state(theme.COLOR_TAB_CURRENT)
self.current_tab().refresh(self.tabs, self.information_buffer, self.roster)
+ self.doupdate()
def open_new_room(self, room, nick, focus=True):
"""
@@ -1337,4 +1337,5 @@ class Gui(object):
self.doupdate()
def doupdate(self):
+ self.current_tab().just_before_refresh()
curses.doupdate()