diff options
author | mathieui <mathieui@mathieui.net> | 2014-04-27 16:32:03 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-04-27 16:32:03 +0200 |
commit | 5999b71c416f02dc11803bf52a406b9109ddc3c1 (patch) | |
tree | e132ffeb929d23b94ee4ed2261be5bc8498815c1 /src/theming.py | |
parent | 60224bb76a08d5332e1d0bca810cf9682d45aa89 (diff) | |
download | poezio-5999b71c416f02dc11803bf52a406b9109ddc3c1.tar.gz poezio-5999b71c416f02dc11803bf52a406b9109ddc3c1.tar.bz2 poezio-5999b71c416f02dc11803bf52a406b9109ddc3c1.tar.xz poezio-5999b71c416f02dc11803bf52a406b9109ddc3c1.zip |
Fix #2106 (implement message delivery receipts)
- two options request/ack_message_receipts
- two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK
- if a message has a receipt, the character is displayed between the
timestamp and the nick, using the color
Diffstat (limited to 'src/theming.py')
-rw-r--r-- | src/theming.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theming.py b/src/theming.py index 71ed760c..093fa553 100644 --- a/src/theming.py +++ b/src/theming.py @@ -301,6 +301,7 @@ class Theme(object): CHAR_QUIT = '<---' CHAR_KICK = '-!-' CHAR_NEW_TEXT_SEPARATOR = '- ' + CHAR_ACK_RECEIVED = '✔' CHAR_COLUMN_ASC = ' ▲' CHAR_COLUMN_DESC = ' ▼' CHAR_ROSTER_ERROR = '✖' @@ -314,6 +315,8 @@ class Theme(object): CHAR_ROSTER_TO = '→' CHAR_ROSTER_NONE = '⇹' + COLOR_CHAR_ACK = (2, -1) + COLOR_ROSTER_GAMING = (6, -1) COLOR_ROSTER_MOOD = (2, -1) COLOR_ROSTER_ACTIVITY = (3, -1) |