Always display statusbar red on errors, even in insert mode

This commit is contained in:
Florian Bruhin 2014-07-02 23:08:29 +02:00
parent ad972ff499
commit 01485a2f9e
2 changed files with 4 additions and 7 deletions

View File

@ -5,9 +5,6 @@ Bugs
e.g. loading a page and immediately yanking the (non-resolved) URL should e.g. loading a page and immediately yanking the (non-resolved) URL should
work. work.
- When loading http://www.the-compiler.org:4040/ ssl errors get displayed in
green because we're in insert mode.
- page-forward clicks "Newest" on http://explosm.net/ instead of "Next". - page-forward clicks "Newest" on http://explosm.net/ instead of "Next".
- seir sometimes sees "-- COMMAND MODE --" even though that should never - seir sometimes sees "-- COMMAND MODE --" even though that should never

View File

@ -101,10 +101,6 @@ class StatusBar(QWidget):
{color[statusbar.bg]} {color[statusbar.bg]}
}} }}
QWidget#StatusBar[error="true"] {{
{color[statusbar.bg.error]}
}}
QWidget#StatusBar[prompt_active="true"] {{ QWidget#StatusBar[prompt_active="true"] {{
{color[statusbar.bg.prompt]} {color[statusbar.bg.prompt]}
}} }}
@ -113,6 +109,10 @@ class StatusBar(QWidget):
{color[statusbar.bg.insert]} {color[statusbar.bg.insert]}
}} }}
QWidget#StatusBar[error="true"] {{
{color[statusbar.bg.error]}
}}
QWidget {{ QWidget {{
{color[statusbar.fg]} {color[statusbar.fg]}
{font[statusbar]} {font[statusbar]}