diff options
author | mathieui <mathieui@mathieui.net> | 2014-04-15 22:57:44 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-04-15 22:57:44 +0200 |
commit | a784216196df764e2bb790efe7a799e9cad5588b (patch) | |
tree | 8c5f1a4c013b92cc1f21ad1341055c3eecc1a759 /data | |
parent | 80ebe9edc041f7950c8858cd6176830c62b11ada (diff) | |
download | poezio-a784216196df764e2bb790efe7a799e9cad5588b.tar.gz poezio-a784216196df764e2bb790efe7a799e9cad5588b.tar.bz2 poezio-a784216196df764e2bb790efe7a799e9cad5588b.tar.xz poezio-a784216196df764e2bb790efe7a799e9cad5588b.zip |
Fix #2440 (highlight composing tabs)
- add a show_composing_tabs option, default value: "direct"
- todo: find a nice different color for this
Diffstat (limited to 'data')
-rw-r--r-- | data/default_config.cfg | 10 | ||||
-rw-r--r-- | data/themes/dark.py | 2 |
2 files changed, 12 insertions, 0 deletions
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) |