Add example shortcut
This commit is contained in:
parent
0b678e828f
commit
ac33aaf194
|
@ -114,7 +114,7 @@ CONTEXT = {
|
||||||
# ~ SHIFT is mapped to Shift on all platforms.
|
# ~ SHIFT is mapped to Shift on all platforms.
|
||||||
# ~ MOD1 is mapped to Ctrl on Windows/Linux, while it is mapped to Cmd on Mac.
|
# ~ MOD1 is mapped to Ctrl on Windows/Linux, while it is mapped to Cmd on Mac.
|
||||||
# ~ MOD2 is mapped to Alt on all platforms.
|
# ~ MOD2 is mapped to Alt on all platforms.
|
||||||
# ~ For example: Shift+Ctrl+Alt+M -> M_SHIFT_MOD1_MOD2
|
# ~ For example: Shift+Ctrl+Alt+T -> T_SHIFT_MOD1_MOD2
|
||||||
PARENT = 'OfficeMenuBar'
|
PARENT = 'OfficeMenuBar'
|
||||||
MENU_MAIN = {
|
MENU_MAIN = {
|
||||||
'en': 'My Extension',
|
'en': 'My Extension',
|
||||||
|
@ -127,7 +127,7 @@ MENUS = (
|
||||||
'context': 'calc,writer',
|
'context': 'calc,writer',
|
||||||
'icon': 'icon',
|
'icon': 'icon',
|
||||||
'toolbar': True,
|
'toolbar': True,
|
||||||
'shortcut': '',
|
'shortcut': 'T_SHIFT_MOD1_MOD2',
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue