summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-09 17:55:43 +0100
committermathieui <mathieui@mathieui.net>2011-11-09 17:55:43 +0100
commit0e10c04cce83b7b3c0bedd128457d797b605bdbe (patch)
tree021993a00df5185c1461e68f89f9c086e09bff4f /src/core.py
parentb462ef658508d98d1d9ee5d7ee6b92e33b2571ff (diff)
downloadpoezio-0e10c04cce83b7b3c0bedd128457d797b605bdbe.tar.gz
poezio-0e10c04cce83b7b3c0bedd128457d797b605bdbe.tar.bz2
poezio-0e10c04cce83b7b3c0bedd128457d797b605bdbe.tar.xz
poezio-0e10c04cce83b7b3c0bedd128457d797b605bdbe.zip
Fixed a display bug (the info buffer popped even in the RosterInfoTab)
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index a7c331ef..35e2040f 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1537,7 +1537,9 @@ class Core(object):
Displays an informational message in the "Info" buffer
"""
nb_lines = self.information_buffer.add_message(msg, nickname=typ)
- if typ != '' and typ.lower() in config.get('information_buffer_popup_on',
+ if isinstance(self.current_tab(), tabs.RosterInfoTab):
+ self.refresh_window()
+ elif typ != '' and typ.lower() in config.get('information_buffer_popup_on',
'error roster warning help info').split():
popup_time = config.get('popup_time', 4) + (nb_lines - 1) * 2
self.pop_information_win_up(nb_lines, popup_time)