diff options
author | mathieui <mathieui@mathieui.net> | 2014-04-30 21:34:09 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-04-30 21:34:09 +0200 |
commit | bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677 (patch) | |
tree | 190e961ea1c516ad0127e1c82cddb5fee263e565 /src/windows.py | |
parent | d859ec2ea19654603075b556094c6b59aad8e73a (diff) | |
download | poezio-bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677.tar.gz poezio-bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677.tar.bz2 poezio-bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677.tar.xz poezio-bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677.zip |
Remove Tab.get_name() and use Tab.name instead
(keep a get_name() fallback just in case for now)
Diffstat (limited to 'src/windows.py')
-rw-r--r-- | src/windows.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py index 72e7a40d..3087c786 100644 --- a/src/windows.py +++ b/src/windows.py @@ -375,7 +375,7 @@ class GlobalInfoBar(Win): if use_nicks: self.addstr("%s" % str(tab.get_nick()), to_curses_attr(color)) else: - self.addstr("%s" % str(tab.get_name()), to_curses_attr(color)) + self.addstr("%s" % tab.name, to_curses_attr(color)) self.addstr("|", to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) except: # end of line break @@ -425,7 +425,7 @@ class VerticalGlobalInfoBar(Win): if use_nicks: self.addnstr("%s" % tab.get_nick(), width - 4, to_curses_attr(color)) else: - self.addnstr("%s" % tab.get_name(), width - 4, to_curses_attr(color)) + self.addnstr("%s" % tab.name, width - 4, to_curses_attr(color)) separator = to_curses_attr(get_theme().COLOR_VERTICAL_SEPARATOR) self._win.attron(separator) self._win.vline(0, width-1, curses.ACS_VLINE, height) |