projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
606210b
)
Remove '_' from begin of some keynames start with numbers
author
Peng Huang
<shawn.p.huang@gmail.com>
Wed, 2 Sep 2009 08:30:57 +0000
(16:30 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Wed, 2 Sep 2009 08:30:57 +0000
(16:30 +0800)
ibus/keysyms.py
patch
|
blob
|
history
diff --git
a/ibus/keysyms.py
b/ibus/keysyms.py
index 0ab5c7dc00514919268b169fcdf660dec2098771..69c6dd9c9d9f25308401da787ff2b7f87df6d4bf 100644
(file)
--- a/
ibus/keysyms.py
+++ b/
ibus/keysyms.py
@@
-1504,6
+1504,8
@@
for key, value in vars().items():
if key.startswith("__") or \
key in ("name_to_keycode", "keycode_to_name", "VoidSymbol"):
continue
+ if key.startswith("_"):
+ key = key[1:]
__name_to_keycode[key] = value
__keycode_to_name[value] = key