diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2011-01-01 15:37:35 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2011-01-01 15:37:35 +0000 |
commit | 15f7340661e0ef4b375e54dabc1f3c1f6f885c38 (patch) | |
tree | db8198f40dfbb40fea1531b1a973cd5319b6dd16 /src/tabs.py | |
parent | ea3e606d473fb9906f956fcdcd51a4ab8102887f (diff) | |
download | poezio-15f7340661e0ef4b375e54dabc1f3c1f6f885c38.tar.gz poezio-15f7340661e0ef4b375e54dabc1f3c1f6f885c38.tar.bz2 poezio-15f7340661e0ef4b375e54dabc1f3c1f6f885c38.tar.xz poezio-15f7340661e0ef4b375e54dabc1f3c1f6f885c38.zip |
fixed #1901 Alt-U and Alt-Y scrolls the participant-list in MUCs
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py index de2d3996..b106592b 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -353,6 +353,8 @@ class MucTab(ChatTab): # keys self.key_func['^I'] = self.completion self.key_func['M-i'] = self.completion + self.key_func['M-u'] = self.scroll_user_list_down + self.key_func['M-y'] = self.scroll_user_list_up # commands self.commands['ignore'] = (self.command_ignore, _("Usage: /ignore <nickname> \nIgnore: Ignore a specified nickname."), None) self.commands['unignore'] = (self.command_unignore, _("Usage: /unignore <nickname>\nUnignore: Remove the specified nickname from the ignore list."), None) @@ -364,6 +366,14 @@ class MucTab(ChatTab): self.commands['recolor'] = (self.command_recolor, _('Usage: /recolor\nRecolor: Re-assign a color to all participants of the current room, based on the last time they talked. Use this if the participants currently talking have too many identical colors.'), None) self.resize() + def scroll_user_list_up(self): + self.user_win.scroll_up() + self.core.refresh_window() + + def scroll_user_list_down(self): + self.user_win.scroll_down() + self.core.refresh_window() + def command_recolor(self, arg): """ Re-assign color to the participants of the room |