From 71c35eb279b2271b89896dcff551ba762f66b3a5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 11 Mar 2013 02:04:20 +0100 Subject: Implement XEP-0118 (Fix #1840) - Add new theming options - Show the tune in the roster (both in contact line and infowin) - add an option to show tunes as info messages --- src/theming.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/theming.py') diff --git a/src/theming.py b/src/theming.py index 3f9df2e2..b95596c2 100644 --- a/src/theming.py +++ b/src/theming.py @@ -200,8 +200,10 @@ class Theme(object): CHAR_COLUMN_ASC = ' ▲' CHAR_COLUMN_DESC =' ▼' CHAR_ROSTER_ERROR = '✖' + CHAR_ROSTER_TUNE = '♪' CHAR_ROSTER_ASKED = '?' + COLOR_ROSTER_TUNE = (6, -1) COLOR_ROSTER_ERROR = (1, -1) COLOR_JOIN_CHAR = (4, -1) COLOR_QUIT_CHAR = (1, -1) @@ -218,6 +220,7 @@ class Theme(object): 'roster': (2, -1), 'help': (10, -1), 'headline': (11, -1, 'b'), + 'tune': (6, -1), 'default': (7, -1), } -- cgit v1.2.3