diff options
author | mathieui <mathieui@mathieui.net> | 2021-02-03 21:04:36 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-02-09 19:16:03 +0100 |
commit | 2cfe56bbbe47c9bf8aa87c48324091e90623d43f (patch) | |
tree | 59a426fb8535c76d6a23bff2801849328effa6f2 /poezio/tabs | |
parent | ae0888bd3d6892f3da3ff0d7c3cbb60f61653f6c (diff) | |
download | poezio-2cfe56bbbe47c9bf8aa87c48324091e90623d43f.tar.gz poezio-2cfe56bbbe47c9bf8aa87c48324091e90623d43f.tar.bz2 poezio-2cfe56bbbe47c9bf8aa87c48324091e90623d43f.tar.xz poezio-2cfe56bbbe47c9bf8aa87c48324091e90623d43f.zip |
Remove activity/mood/gaming/tune from poezio core
rationale: probably 0.1% of poezio users have ever used the commands,
and a very small number of users are using the PEP events like that.
It is better to unclutter the poezio source and add it as a plugin,
with less tight coupling.
Diffstat (limited to 'poezio/tabs')
-rw-r--r-- | poezio/tabs/rostertab.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py index ad57a9fd..5d2e148c 100644 --- a/poezio/tabs/rostertab.py +++ b/poezio/tabs/rostertab.py @@ -1012,15 +1012,6 @@ class RosterInfoTab(Tab): '%s connected resource%s' % (len(cont), '' if len(cont) == 1 else 's')) acc.append('Current status: %s' % res.status) - if cont.tune: - acc.append('Tune: %s' % common.format_tune_string(cont.tune)) - if cont.mood: - acc.append('Mood: %s' % cont.mood) - if cont.activity: - acc.append('Activity: %s' % cont.activity) - if cont.gaming: - acc.append( - 'Game: %s' % (common.format_gaming_string(cont.gaming))) msg = '\n'.join(acc) elif isinstance(selected_row, Resource): res = selected_row |