#7964: Apple Aluminum Keyboard Layout files ----------------------------------+---------------------------- Reporter: jscipione | Owner: axeld Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: Preferences/Keymap | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All ----------------------------------+---------------------------- Attachment added (by jscipione): Keymap_add_Apple_Aluminum_submenu_3.diff (7.1 KB) - Adds the ability to turn subdirectories in the KeyboardLayouts/ directories into submenus in the Layout menu of the Keymap preference app. This patch uses recursive methods removing the limitation of only handling 1 level of subdirs. The code is much cleaner than the _2 version. No goto required. I had to remove the const qualifier on the _SaveSettings() menu to allow it to call a recursive method to find the path of the marked layout. This patch is different than versions 1 and 2 in that it only deals with turning subdirs into submenus and doesn't include the Apple Aluminum layout files or the changes to HaikuImage. View the file at http://dev.haiku-os.org/attachment/ticket/7964/Keymap_add_Apple_Aluminum_submenu_3.diff -- Ticket URL: http://dev.haiku-os.org/ticket/7964 Haiku <http://dev.haiku-os.org> Haiku - the operating system.