Support engine specific hotkey.
authorJames Su <james.su@gmail.com>
Tue, 11 May 2010 20:41:59 +0000 (13:41 -0700)
committerPeng Huang <shawn.p.huang@gmail.com>
Sat, 31 Jul 2010 06:03:37 +0000 (14:03 +0800)
commite2793f52bf3da7a22321f053f3ba8154026fd6fa
tree5e212bc2eac3dad3772f6e72e2dd4a4d71270bcb
parent1350806a4d1a23036ea7e4dac9e0169b77127cb1
Support engine specific hotkey.

BUG=http://crosbug.com/2543
TEST=none

With this CL, each engine can specify one or more special activation hotkeys. This CL doesn't support customizing global hotkeys per engine.
I'd still prefer to customize the global hotkeys based on current locale rather than input method engine.

Add hotkeys property to IBusEngineDesc, so that each engine can specify their own special hotkeys. This is useful for input methods that have dedicated hotkeys, such as Japanese input methods, which has a dedicated hotkey key: Kana.

Review URL: http://codereview.chromium.org/1702015
bus/ibusimpl.c
bus/ibusimpl.h
ibus/component.py
ibus/enginedesc.py
src/ibusenginedesc.c
src/ibusenginedesc.h
src/ibushotkey.c
src/ibushotkey.h