Commit 2e133d25 authored by Tomasz Miąsko's avatar Tomasz Miąsko

Fix tab switching with ctrl+page up and ctrl+page down.

parent ffeeb8f9
......@@ -401,7 +401,7 @@ class MessageWindow(object):
elif keyval in (Gdk.KEY_Page_Up, Gdk.KEY_Page_Down):
# CTRL + PageUp | PageDown
# Create event and send it to notebook
event = Gdk.Event(Gdk.EventType.KEY_PRESS)
event =
event.window = self.window.get_window()
event.time = int(time.time())
event.state = Gdk.ModifierType.CONTROL_MASK
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment