diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-13 21:15:19 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-13 21:15:19 +0000 |
commit | 4e783569f6188d7cb756b91a5ca8aacbe47256f0 (patch) | |
tree | 69f1d0fd75bbf24e5e379f71c91ee23d75448b2d | |
parent | e43d43a42e9e890843f72f89884c949f3105addf (diff) |
first SAE-based simplification of options dialog (SAE only)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3963 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/option_editor.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 03e1a5a661..76f209e98b 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -28,6 +28,7 @@ #include <ardour/auditioner.h> #include <ardour/sndfilesource.h> #include <ardour/crossfade.h> +#include <ardour/profile.h> #include <midi++/manager.h> #include <midi++/factory.h> #include <gtkmm2ext/stop_signal.h> @@ -148,9 +149,11 @@ OptionEditor::OptionEditor (ARDOUR_UI& uip, PublicEditor& ed, Mixer_UI& mixui) setup_keyboard_options (); setup_auditioner_editor (); - notebook.pages().push_back (TabElem (sync_packer, _("Sync"))); - notebook.pages().push_back (TabElem (path_table, _("Paths/Files"))); - notebook.pages().push_back (TabElem (keyboard_mouse_table, _("Kbd/Mouse"))); + if (!Profile->get_sae()) { + notebook.pages().push_back (TabElem (sync_packer, _("Sync"))); + notebook.pages().push_back (TabElem (path_table, _("Paths/Files"))); + notebook.pages().push_back (TabElem (keyboard_mouse_table, _("Kbd/Mouse"))); + } notebook.pages().push_back (TabElem (click_packer, _("Click"))); notebook.pages().push_back (TabElem (audition_packer, _("Audition"))); notebook.pages().push_back (TabElem (misc_packer, _("Misc"))); |