diff options
author | Robin Gareus <robin@gareus.org> | 2013-07-14 18:34:36 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-07-14 18:34:36 +0200 |
commit | 897f6ae3562ff5bebc7f0962d95cbfb29a34ff17 (patch) | |
tree | 641596d6cbaa0ed4a1b1f5be8d94f4ef4237be50 | |
parent | 2106a12edd6dcdf1189b7cfd68b07a0761d77c46 (diff) |
switch to WM::Proxy Action management
fixes http://tracker.ardour.org/view.php?id=5584
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 5a64e53140..50affa6c96 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -617,11 +617,10 @@ ARDOUR_UI::click_button_clicked (GdkEventButton* ev) return false; } - RefPtr<Action> act = ActionManager::get_action (X_("Common"), X_("ToggleRCOptionsEditor")); + RefPtr<Action> act = ActionManager::get_action (X_("Window"), X_("toggle-rc-options-editor")); assert (act); - RefPtr<ToggleAction> tact = RefPtr<ToggleAction>::cast_dynamic (act); - tact->set_active (); + act->activate(); rc_option_editor->set_current_page (_("Misc")); return true; |