summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py6
-rw-r--r--src/windows.py3
2 files changed, 4 insertions, 5 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 74dc468d..04227573 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -765,9 +765,9 @@ class RosterInfoTab(Tab):
info_width = self.width-roster_width-1
self.v_separator.resize(self.height-2, 1, 0, roster_width, self.core.stdscr)
self.tab_win.resize(1, self.width, self.height-2, 0, self.core.stdscr)
- self.info_win.resize(self.height-2, info_width, 0, roster_width+1, self.core.stdscr, self.core.information_buffer)
- self.roster_win.resize(self.height-2-3, roster_width, 0, 0, self.core.stdscr)
- self.contact_info_win.resize(3, roster_width, self.height-2-3, 0, self.core.stdscr)
+ self.info_win.resize(self.height-2-4, info_width, 0, roster_width+1, self.core.stdscr, self.core.information_buffer)
+ self.roster_win.resize(self.height-2, roster_width, 0, 0, self.core.stdscr)
+ self.contact_info_win.resize(4, info_width, self.height-2-4, roster_width+1, self.core.stdscr)
self.input.resize(1, self.width, self.height-1, 0, self.core.stdscr)
def completion(self):
diff --git a/src/windows.py b/src/windows.py
index 5ac3c5e3..0268bef0 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1314,8 +1314,7 @@ class ContactInfoWin(Win):
presence = resource.get_presence()
else:
presence = 'unavailable'
- self.addstr(0, 0, jid, curses.color_pair(theme.COLOR_INFORMATION_BAR))
- self.addstr(' (%s)'%(presence,), curses.color_pair(theme.COLOR_INFORMATION_BAR))
+ self.addstr(0, 0, '%s (%s)'%(jid, presence,), curses.color_pair(theme.COLOR_INFORMATION_BAR))
self.finish_line(theme.COLOR_INFORMATION_BAR)
def draw_group_info(self, group):