diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-05 19:35:24 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-05 19:35:24 +0100 |
commit | 4a8ef778399e652c304a82cd3b326d4f604f05d6 (patch) | |
tree | 02ac2d450da97366a3ca05de32f68d590e8f6511 /src/windows.py | |
parent | fc77f2d1d0e93d3b2c88e53d8c33d14db13f88a9 (diff) | |
download | poezio-4a8ef778399e652c304a82cd3b326d4f604f05d6.tar.gz poezio-4a8ef778399e652c304a82cd3b326d4f604f05d6.tar.bz2 poezio-4a8ef778399e652c304a82cd3b326d4f604f05d6.tar.xz poezio-4a8ef778399e652c304a82cd3b326d4f604f05d6.zip |
Partial fix to #2266 and #2255 (removes the idea of "color state" and
adds state, that are computed to the current theme color)
Diffstat (limited to 'src/windows.py')
-rw-r--r-- | src/windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py index 4f2c68c6..c2c35170 100644 --- a/src/windows.py +++ b/src/windows.py @@ -297,7 +297,7 @@ class GlobalInfoBar(Win): self.addstr(0, 0, "[", to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) sorted_tabs = sorted(self.core.tabs, key=comp) for tab in sorted_tabs: - color = tab.get_color_state() + color = tab.color if config.get('show_inactive_tabs', 'true') == 'false' and\ color == get_theme().COLOR_TAB_NORMAL: continue |