summaryrefslogtreecommitdiff
path: root/src/theming.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-12-07 20:50:24 +0100
committermathieui <mathieui@mathieui.net>2014-12-07 20:50:24 +0100
commit1cd0b4d6ea1f231c7786a01ebf3852419a4b762a (patch)
tree3e434882fcfdd1e96c6b418f0dd3765e49c33a8b /src/theming.py
parent93f05f04d708a580c3ecf49aa430e2830c319268 (diff)
downloadpoezio-1cd0b4d6ea1f231c7786a01ebf3852419a4b762a.tar.gz
poezio-1cd0b4d6ea1f231c7786a01ebf3852419a4b762a.tar.bz2
poezio-1cd0b4d6ea1f231c7786a01ebf3852419a4b762a.tar.xz
poezio-1cd0b4d6ea1f231c7786a01ebf3852419a4b762a.zip
Fix #2570 (add /filter_jid to XMLTab, and syntax highlighting)
Also add /filter_from and /filter_to, and allow chaining filters.
Diffstat (limited to 'src/theming.py')
-rwxr-xr-xsrc/theming.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theming.py b/src/theming.py
index 1e9d6c40..3ca1a89f 100755
--- a/src/theming.py
+++ b/src/theming.py
@@ -178,6 +178,13 @@ class Theme(object):
CHAR_AFFILIATION_MEMBER = '+'
CHAR_AFFILIATION_NONE = '-'
+
+ # XML Tab
+ CHAR_XML_IN = 'IN '
+ CHAR_XML_OUT = 'OUT'
+ COLOR_XML_IN = (1, -1)
+ COLOR_XML_OUT = (2, -1)
+
# Color for the /me message
COLOR_ME_MESSAGE = (6, -1)