mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
wmaker: fix control shortcut label in window menu
This patch is fixing the shortcut label used in window menu. As now when a 'control' shortcut was used, the label displayed was 'bug' cause GetShortcutString fct which is calling wXModifierFromKey fct was waiting for a 'Control' static string not the default one set to 'Ctrl' string.
This commit is contained in:
committed by
Carlos R. Mafra
parent
371818fe36
commit
9cb4388180
@@ -567,7 +567,7 @@ WDefaultEntry optionList[] = {
|
||||
NULL, getColor, setIconTitleBack, NULL, NULL},
|
||||
{"SwitchPanelImages", "(swtile.png, swback.png, 30, 40)", &wPreferences,
|
||||
NULL, getPropList, setSwPOptions, NULL, NULL},
|
||||
{"ModifierKeyLabels", "(\"Shift+\", \"Ctrl+\", \"Mod1+\", \"Mod2+\", \"Mod3+\", \"Mod4+\", \"Mod5+\")", &wPreferences,
|
||||
{"ModifierKeyLabels", "(\"Shift+\", \"Control+\", \"Mod1+\", \"Mod2+\", \"Mod3+\", \"Mod4+\", \"Mod5+\")", &wPreferences,
|
||||
NULL, getPropList, setModifierKeyLabels, NULL, NULL},
|
||||
{"FrameBorderWidth", "1", NULL,
|
||||
NULL, getInt, setFrameBorderWidth, NULL, NULL},
|
||||
|
||||
Reference in New Issue
Block a user