summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-30 23:25:22 +0100
committerFlorent Le Coz <louiz@louiz.org>2012-01-26 10:05:33 +0100
commit23fa1df9ed6ce39bad81adfaa184f4c66526be98 (patch)
tree633cf0ce8fccadef97f2ec22ce97af0233db2e7f /src/windows.py
parent8eea23f7d75aa688243501f62446547324ebc2c8 (diff)
downloadpoezio-23fa1df9ed6ce39bad81adfaa184f4c66526be98.tar.gz
poezio-23fa1df9ed6ce39bad81adfaa184f4c66526be98.tar.bz2
poezio-23fa1df9ed6ce39bad81adfaa184f4c66526be98.tar.xz
poezio-23fa1df9ed6ce39bad81adfaa184f4c66526be98.zip
show_tab_names option lets you display the name of the tabs in the horizontal bar
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py
index f2ffc8a7..a13efdf5 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -303,6 +303,8 @@ class GlobalInfoBar(Win):
continue
try:
self.addstr("%s" % str(tab.nb), to_curses_attr(color))
+ if config.get('show_tab_names', 'false') == 'true':
+ self.addstr(" %s" % str(tab.get_name()), to_curses_attr(color))
self.addstr("|", to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
except: # end of line
break