summaryrefslogtreecommitdiff
path: root/src/theming.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-01-25 17:51:11 +0100
committermathieui <mathieui@mathieui.net>2012-01-25 17:51:11 +0100
commit7ba606136293aa9b08cb1185e046cfdff7bf1589 (patch)
treebd36711670f691cf00e2de0f4fa8d896906a9d78 /src/theming.py
parent561af013b1432fbb9b52d7f246be487347991687 (diff)
downloadpoezio-7ba606136293aa9b08cb1185e046cfdff7bf1589.tar.gz
poezio-7ba606136293aa9b08cb1185e046cfdff7bf1589.tar.bz2
poezio-7ba606136293aa9b08cb1185e046cfdff7bf1589.tar.xz
poezio-7ba606136293aa9b08cb1185e046cfdff7bf1589.zip
Add affiliation chars in the theme
Diffstat (limited to 'src/theming.py')
-rw-r--r--src/theming.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/theming.py b/src/theming.py
index ff2ff74e..815b059f 100644
--- a/src/theming.py
+++ b/src/theming.py
@@ -101,6 +101,13 @@ class Theme(object):
CHAR_CHATSTATE_COMPOSING = 'X'
CHAR_CHATSTATE_PAUSED = 'p'
+ # These characters are used for the affiliation in the user list
+ # in a MUC
+ CHAR_AFFILIATION_OWNER = '~'
+ CHAR_AFFILIATION_ADMIN = '&'
+ CHAR_AFFILIATION_MEMBER = '+'
+ CHAR_AFFILIATION_NONE = '-'
+
# Separators
COLOR_VERTICAL_SEPARATOR = (4, -1)
COLOR_NEW_TEXT_SEPARATOR = (2, -1)
@@ -162,8 +169,8 @@ class Theme(object):
CHAR_JOIN = '--->'
CHAR_QUIT = '<---'
CHAR_KICK = '-!-'
- CHAR_COLUMN_ASC = ' ▲'
- CHAR_COLUMN_DESC =' ▼'
+ CHAR_COLUMN_ASC = ' ▲'
+ CHAR_COLUMN_DESC =' ▼'
COLOR_JOIN_CHAR = (4, -1)
COLOR_QUIT_CHAR = (1, -1)