Merge r10825 from osx_newbuildsys branch, as this might be useful on

X11 and win32 as well.
This commit is contained in:
js 2008-12-13 10:42:01 +00:00
parent 8d18e48af4
commit 23905492f5
1 changed files with 5 additions and 1 deletions

View File

@ -752,7 +752,11 @@ class MessageWindow(object):
elif event.keyval == gtk.keysyms.Page_Up:
self.move_to_next_unread_tab(False)
return True
elif event.keyval == gtk.keysyms.Control_L:
if event.keyval in (gtk.keysyms.Shift_L, gtk.keysyms.Shift_R,
gtk.keysyms.Control_L, gtk.keysyms.Control_R, gtk.keysyms.Caps_Lock,
gtk.keysyms.Shift_Lock, gtk.keysyms.Meta_L, gtk.keysyms.Meta_R,
gtk.keysyms.Alt_L, gtk.keysyms.Alt_R, gtk.keysyms.Super_L,
gtk.keysyms.Super_R, gtk.keysyms.Hyper_L, gtk.keysyms.Hyper_R):
return True
if isinstance(control, ChatControlBase):