diff --git a/src/message_window.py b/src/message_window.py index f882b86cc..62463ac17 100644 --- a/src/message_window.py +++ b/src/message_window.py @@ -4,12 +4,12 @@ ## Vincent Hanquez ## Copyright (C) 2005 Yann Leboulanger ## Vincent Hanquez -## Nikos Kouremenos ## Dimitur Kirov ## Norman Rasmussen ## Copyright (C) 2005-2007 Travis Shirk ## Copyright (C) 2006 Geobert Quach ## Copyright (C) 2007 Stephan Erb +## Copyright (C) 2005-2008 Nikos Kouremenos ## ## This file is part of Gajim. ## @@ -629,6 +629,9 @@ class MessageWindow(object): if (event.state & gtk.gdk.CONTROL_MASK and event.keyval in (gtk.keysyms.Page_Down, gtk.keysyms.Page_Up)): return False + # when tab itselft is selected, make sure <- and -> are allowed for navigating between tabs + if event.keyval in (gtk.keysyms.Left, gtk.keysyms.Right): + return False if isinstance(control, ChatControlBase): # we forwarded it to message textview control.msg_textview.emit('key_press_event', event)