]> spindle.queued.net Git - midori/commit
Support keyboard hotkeys that GTK+ considers invalid
authorChristian Dywan <christian@twotoasts.de>
Tue, 3 Nov 2009 22:47:33 +0000 (23:47 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 4 Nov 2009 13:31:16 +0000 (14:31 +0100)
commitd0215c4032f4301e6b6068febc95d2f0fbc167b1
treefbcb0d414efb37d5d9e3406cd00cb9adba87cc1b
parent3a491840f5358037adf705db7ac43ae3ffebcfd4
Support keyboard hotkeys that GTK+ considers invalid

We re-implement the usual key handling by overriding the key press
handler, emulating the according steps but leaving out the
validation that normally rejects certain combinations.

Single key hotkeys work unless an entry is focussed, in which case
the entry receives the input, and Control+Tab works as well.

The shortcuts extension is adjusted to accept any hotkeys.
extensions/shortcuts.c
midori/midori-browser.c
midori/sokoke.c
midori/sokoke.h