From 786f0e7222af6a6377e1b2ea1acc8026ce3c0d4a Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sat, 15 Dec 2012 02:35:52 +0100 Subject: Introduce a special "reverse" value for the COLOR_HIGHLIGHT_NICK theme option. If COLOR_HIGHLIGHT_NICK = "reverse", the highlight nick will be in reverse mode. fix #2165 --- src/theming.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/theming.py') diff --git a/src/theming.py b/src/theming.py index 2068c83a..910e62d9 100644 --- a/src/theming.py +++ b/src/theming.py @@ -80,7 +80,10 @@ class Theme(object): # Message text color COLOR_NORMAL_TEXT = (-1, -1) COLOR_INFORMATION_TEXT = (5, -1) # TODO - COLOR_HIGHLIGHT_NICK = (3, 5, 'b') + # "reverse" is a special value, available only for this option. It just + # takes the nick colors and reverses it. A theme can still specify a + # fixed color if need be. + COLOR_HIGHLIGHT_NICK = "reverse" # User list color COLOR_USER_VISITOR = (239, -1) -- cgit v1.2.3