diff options
author | mathieui <mathieui@mathieui.net> | 2012-12-30 17:40:27 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-12-30 17:40:27 +0100 |
commit | 7ec85ae32831dff00259aa72d5163a03053a733a (patch) | |
tree | f429d0f239bb59955d61a4df32d74231d5aa030a /src/theming.py | |
parent | 0f9b37b8a8ee9ec469426f425a6415269653ac5a (diff) | |
download | poezio-7ec85ae32831dff00259aa72d5163a03053a733a.tar.gz poezio-7ec85ae32831dff00259aa72d5163a03053a733a.tar.bz2 poezio-7ec85ae32831dff00259aa72d5163a03053a733a.tar.xz poezio-7ec85ae32831dff00259aa72d5163a03053a733a.zip |
Fix #2143 Fix #2056
Show headline messages in the info buffer, and show error messages (or
other errors) with a special style.
Diffstat (limited to 'src/theming.py')
-rw-r--r-- | src/theming.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/theming.py b/src/theming.py index cc7d0f89..c2c8950f 100644 --- a/src/theming.py +++ b/src/theming.py @@ -161,6 +161,8 @@ class Theme(object): # This is your own nickname COLOR_OWN_NICK = (254, -1) + # This is for in-tab error messages + COLOR_ERROR_MSG = (9, 7, 'b') # Status color COLOR_STATUS_XA = (16, 90) COLOR_STATUS_NONE = (16, 4) @@ -199,10 +201,11 @@ class Theme(object): # Info messages color (the part before the ">") INFO_COLORS = { - 'Info': (5, -1), - 'Error': (16, 1), - 'Roster': (2, 16), - 'default': (0, -1), + 'info': (5, -1), + 'error': (16, 1), + 'roster': (2, 16), + 'headline': (11, -1, 'b'), + 'default': (7, -1), } # This is the default theme object, used if no theme is defined in the conf |