diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2009-03-05 14:26:10 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2009-03-05 14:26:10 +0800 |
commit | 740acea3c7103af63f4e572c4e4c3ae39153430e (patch) | |
tree | d5b78156a7b20f9901d9d378a00e00c9692e41e8 | |
parent | 5b4fafc09b31022d8eb031faf40692007e49e319 (diff) | |
download | ibus-740acea3c7103af63f4e572c4e4c3ae39153430e.tar.gz ibus-740acea3c7103af63f4e572c4e4c3ae39153430e.tar.xz ibus-740acea3c7103af63f4e572c4e4c3ae39153430e.zip |
Fix name error.
-rw-r--r-- | src/ibuskeynames.c | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/src/ibuskeynames.c b/src/ibuskeynames.c index 9a8c1e4..6c5d7fc 100644 --- a/src/ibuskeynames.c +++ b/src/ibuskeynames.c @@ -99,29 +99,28 @@ ibus_keyval_from_name (const gchar *keyval_name) static const gchar * modifier_name[] = { - "Shift", - "Lock", - "Control", - "Alt", - "Mod2", - "Mod3", - "Mod4", - "Mod5", - "Button1", - "Button2", - "Button3", - "Button4", - "Button5", - NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, NULL, - NULL, NULL, - "Supper", - "Hyper", - "Meta", - NULL, - "Release", - NULL, - NULL, + "Shift", // 0 + "Lock", // 1 + "Control", // 2 + "Alt", // 3 + "Mod2", // 4 + "Mod3", // 5 + "Mod4", // 6 + "Mod5", // 7 + "Button1", // 8 + "Button2", // 9 + "Button3", // 10 + "Button4", // 11 + "Button5", // 12 + NULL, NULL, NULL, NULL, NULL, // 13 - 17 + NULL, NULL, NULL, NULL, NULL, // 18 - 22 + NULL, NULL, NULL, // 23 - 25 + "Supper", // 26 + "Hyper", // 27 + "Meta", // 28 + NULL, // 29 + "Release", // 30 + NULL, // 31 }; const gchar * |