summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui2.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-07-14 12:19:52 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-07-14 12:20:01 -0500
commite062629ccd75717ba80f8dfbb1ede2a9937504bf (patch)
tree8682db5d344945e508cf2268a29d8388bfe7fd69 /gtk2_ardour/ardour_ui2.cc
parentd0bc4b55faa25e754d1f15eab4656434aba1a568 (diff)
make GUI preferences discoverable from the View menu
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r--gtk2_ardour/ardour_ui2.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index ad8336ca10..1bf5115b8d 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -639,6 +639,18 @@ ARDOUR_UI::restore_editing_space ()
}
}
+void
+ARDOUR_UI::show_ui_prefs ()
+{
+ RefPtr<Action> act = ActionManager::get_action (X_("Window"), X_("toggle-rc-options-editor"));
+ assert (act);
+
+ act->activate();
+
+ rc_option_editor->set_current_page (_("GUI"));
+}
+
+
bool
ARDOUR_UI::click_button_clicked (GdkEventButton* ev)
{