From a784216196df764e2bb790efe7a799e9cad5588b Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 15 Apr 2014 22:57:44 +0200 Subject: Fix #2440 (highlight composing tabs) - add a show_composing_tabs option, default value: "direct" - todo: find a nice different color for this --- data/default_config.cfg | 10 ++++++++++ data/themes/dark.py | 2 ++ 2 files changed, 12 insertions(+) (limited to 'data') diff --git a/data/default_config.cfg b/data/default_config.cfg index 0e5ecf4f..10ed9ddb 100644 --- a/data/default_config.cfg +++ b/data/default_config.cfg @@ -250,6 +250,16 @@ plugins_conf_dir = # with no activity, set to true. Else, set to false show_inactive_tabs = true +# If you want to highlight tabs where the contact is typing +# possible values: +# - direct: one-to-one chats +# - private: private chats in chatrooms +# - conversation: chats with contacts or other JIDs +# - muc: chatrooms +# - true: all chat tabs +# - false or anything else: no highlighting +show_composing_tabs = direct + # If you want to show the tab names in the bottom tab bar, set this to true show_tab_names = false diff --git a/data/themes/dark.py b/data/themes/dark.py index ba7208a4..33fc5f37 100644 --- a/data/themes/dark.py +++ b/data/themes/dark.py @@ -17,6 +17,7 @@ class DarkTheme(theming.Theme): COLOR_TAB_NORMAL = (-1, 236) COLOR_TAB_NONEMPTY = (-1, 236) COLOR_TAB_CURRENT = (-1, 16) + COLOR_TAB_COMPOSING = (3, 236) COLOR_TAB_NEW_MESSAGE = (3, 236) COLOR_TAB_HIGHLIGHT = (1, 236) COLOR_TAB_ATTENTION = (6, 236) @@ -36,6 +37,7 @@ class DarkTheme(theming.Theme): COLOR_VERTICAL_TAB_NORMAL = (240, -1) COLOR_VERTICAL_TAB_CURRENT = (-1, 236) COLOR_VERTICAL_TAB_NEW_MESSAGE = (3, -1) + COLOR_VERTICAL_TAB_COMPOSING = (3, -1) COLOR_VERTICAL_TAB_HIGHLIGHT = (1, -1) COLOR_VERTICAL_TAB_PRIVATE = (2, -1) COLOR_VERTICAL_TAB_ATTENTION = (6, -1) -- cgit v1.2.3