From cec1151ecb577a270b9e1f0ae5eaa238d3269ae8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 11 Mar 2013 23:06:52 +0100 Subject: Fix #1839 (User mood/activity) - Added as always new theming variables: CHAR_ROSTER_MOOD, CHAR_ROSTER_ACTIVITY (a SNOWMAN!) COLOR_ROSTER_MOOD, COLOR_ROSTER_ACTIVITY - Added two new notification types in Theme.INFO_COLORS (mood/activity) - Added new configuration options: display_mood/activity/tune_notifications (those can be set for a specific JID) enable_user_tune/nick/activity/mood - Added /activity and /mood commands, with completions - Moved the old /activity to /last_activity - Details are show in the ContactInfoWin if there is room, or with "i" on a contact in the roster. --- src/theming.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/theming.py') diff --git a/src/theming.py b/src/theming.py index b95596c2..26b66377 100644 --- a/src/theming.py +++ b/src/theming.py @@ -202,7 +202,11 @@ class Theme(object): CHAR_ROSTER_ERROR = '✖' CHAR_ROSTER_TUNE = '♪' CHAR_ROSTER_ASKED = '?' + CHAR_ROSTER_ACTIVITY = '☃' + CHAR_ROSTER_MOOD = '☺' + COLOR_ROSTER_MOOD = (2, -1) + COLOR_ROSTER_ACTIVITY = (3, -1) COLOR_ROSTER_TUNE = (6, -1) COLOR_ROSTER_ERROR = (1, -1) COLOR_JOIN_CHAR = (4, -1) @@ -221,6 +225,8 @@ class Theme(object): 'help': (10, -1), 'headline': (11, -1, 'b'), 'tune': (6, -1), + 'mood': (2, -1), + 'activity': (3, -1), 'default': (7, -1), } -- cgit v1.2.3