diff --git a/gtk2_ardour/ardour-sae.menus b/gtk2_ardour/ardour-sae.menus index d9c4f1798f..1e8ba7cc71 100644 --- a/gtk2_ardour/ardour-sae.menus +++ b/gtk2_ardour/ardour-sae.menus @@ -43,6 +43,11 @@ + + + + + @@ -143,6 +148,7 @@ + @@ -235,6 +241,7 @@ + diff --git a/gtk2_ardour/sync-menu.c b/gtk2_ardour/sync-menu.c index 22beca9b11..ec2b741d5a 100644 --- a/gtk2_ardour/sync-menu.c +++ b/gtk2_ardour/sync-menu.c @@ -312,17 +312,51 @@ carbon_menu_item_update_accelerator (CarbonMenuItem *carbon_item, GdkKeymapKey *keys; gint n_keys; gint use_command; + gboolean add_modifiers = FALSE; if (gdk_keymap_get_entries_for_keyval (keymap, key->accel_key, - &keys, &n_keys)) + &keys, &n_keys) == 0) + { + gint realkey = -1; + + switch (key->accel_key) { + case GDK_rightarrow: + case GDK_Right: + realkey = kRightArrowCharCode; + break; + case GDK_leftarrow: + case GDK_Left: + realkey = kLeftArrowCharCode; + break; + case GDK_uparrow: + case GDK_Up: + realkey = kUpArrowCharCode; + break; + case GDK_downarrow: + case GDK_Down: + realkey = kDownArrowCharCode; + break; + default: + break; + } + + if (realkey != -1) { + SetMenuItemCommandKey (carbon_item->menu, carbon_item->index, + false, realkey); + add_modifiers = TRUE; + } + + } else { + SetMenuItemCommandKey (carbon_item->menu, carbon_item->index, + true, keys[0].keycode); + g_free (keys); + add_modifiers = TRUE; + } + + if (add_modifiers) { UInt8 modifiers = 0; /* implies Command key */ - SetMenuItemCommandKey (carbon_item->menu, carbon_item->index, - true, keys[0].keycode); - - g_free (keys); - use_command = 0; if (key->accel_mods) diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index f08e02bb42..d860e486ae 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -13,7 +13,19 @@ PRINT_SYSDEPS= while [ $# -gt 0 ] ; do echo "arg = $1" case $1 in - --sae) SAE=1 ; shift ;; + + # + # top level build targets + # + + --sae) SAE=1 ; WITH_JACK=1; WITH_LADSPA=1; STRIP= ; shift ;; + --public) SAE= ; WITH_JACK=; WITH_LADSPA=1; STRIP= ; shift ;; + --allinone) SAE= ; WITH_JACK=1; WITH_LADSPA=1; STRIP= ; shift ;; + + # + # specific build flags + # + --nojack) WITH_JACK= ; shift ;; --noladspa) WITH_LADSPA= ; shift ;; --nostrip) STRIP= ; shift ;;