From 4e783569f6188d7cb756b91a5ca8aacbe47256f0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 13 Oct 2008 21:15:19 +0000 Subject: [PATCH] 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 --- gtk2_ardour/option_editor.cc | 9 ++++++--- 1 file 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 #include #include +#include #include #include #include @@ -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")));