diff options
Diffstat (limited to 'src/shortcuts.cpp')
| -rw-r--r-- | src/shortcuts.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp index d49bdc29d..0d6adb096 100644 --- a/src/shortcuts.cpp +++ b/src/shortcuts.cpp @@ -94,6 +94,12 @@ void sp_shortcut_init() success = try_shortcuts_file(shortcutfile.c_str()); reason = "Unable to read key file set in preferences"; } +#ifdef WITH_CARBON_INTEGRATION + if (!success) { + g_info("%s. Falling back to 'carbon.xml' for MacOSX keyboards.", reason); + success = try_shortcuts_file(get_path(SYSTEM, KEYS, "carbon.xml")); + } +#endif if (!success) { g_info("%s. Falling back to 'default.xml'.", reason); success = try_shortcuts_file(get_path(SYSTEM, KEYS, "default.xml")); |
