diff options
author | mathieui <mathieui@mathieui.net> | 2018-06-29 21:18:09 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-06-29 21:34:23 +0200 |
commit | 28ce49dcaaa1f7e958e09aff2af7d1e956796ad9 (patch) | |
tree | c1ffc7d4f9909080abd6dd2875a66f948879f00f /poezio/windows/info_bar.py | |
parent | 39695ba42d9183584edb6c6b93b02b04be67f126 (diff) | |
download | poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.gz poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.bz2 poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.xz poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.zip |
Update poezio for the new tabs module
Diffstat (limited to 'poezio/windows/info_bar.py')
-rw-r--r-- | poezio/windows/info_bar.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/poezio/windows/info_bar.py b/poezio/windows/info_bar.py index 950813f1..6e338a78 100644 --- a/poezio/windows/info_bar.py +++ b/poezio/windows/info_bar.py @@ -26,18 +26,12 @@ class GlobalInfoBar(Win): self.addstr(0, 0, "[", to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) - create_gaps = config.get('create_gaps') show_names = config.get('show_tab_names') show_nums = config.get('show_tab_numbers') use_nicks = config.get('use_tab_nicks') show_inactive = config.get('show_inactive_tabs') - # ignore any remaining gap tabs if the feature is not enabled - if create_gaps: - sorted_tabs = self.core.tabs[:] - else: - sorted_tabs = [tab for tab in self.core.tabs if tab] - for nb, tab in enumerate(sorted_tabs): + for nb, tab in enumerate(self.core.tabs): if not tab: continue color = tab.color if not show_inactive and color is get_theme().COLOR_TAB_NORMAL: |