summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-08-12 03:16:09 +0200
committerRobin Gareus <robin@gareus.org>2015-08-12 03:16:09 +0200
commitad9cebe2474354b9e11ea3a9e3521f1aa98c561a (patch)
tree5258530450437066506502fd7f0b96bbe6cabe72 /gtk2_ardour
parentbb399c8787f53fe590cdd3053d985c20f5dd8a96 (diff)
hide “Midi Setup” button on OSX and Windows.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/engine_dialog.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc
index 7c71deb1ed..fcb690b645 100644
--- a/gtk2_ardour/engine_dialog.cc
+++ b/gtk2_ardour/engine_dialog.cc
@@ -607,7 +607,13 @@ EngineControl::build_full_control_notebook ()
label = manage (left_aligned_label (_("MIDI System:")));
basic_packer.attach (*label, 0, 1, row, row + 1, xopt, (AttachOptions) 0);
basic_packer.attach (midi_option_combo, 1, 2, row, row + 1, SHRINK, (AttachOptions) 0);
+#if ! defined __APPLE__ && ! defined PLATFORM_WINDOWS // => linux, YAY
+ /* Currently the only backend with dedicated Midi setup is ALSA.
+ * lot of people complain that this is greyed out
+ * "I can't use MIDI, the setup is greyed out"
+ */
basic_packer.attach (midi_devices_button, 3, 4, row, row+1, xopt, xopt);
+#endif
row++;
}