diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-23 18:42:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-23 18:42:01 +0000 |
commit | f08f3acbacfbbe23b2aa7c1720043eb37d3ee6b9 (patch) | |
tree | bc725123afd0e0980fd937d99ac72ff35f042204 /gtk2_ardour/ardour_ui_ed.cc | |
parent | 4c42a77441e74356cd909d994e270d1e1314aad4 (diff) |
remove EnableTranslations action, since this stuff is all done in the prefs dialog now and there is no need for a separate action to use with a menu item
git-svn-id: svn://localhost/ardour2/branches/3.0@13979 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index b64ee23a5b..c9ede29f30 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -442,17 +442,6 @@ ARDOUR_UI::install_actions () act = ActionManager::register_toggle_action (option_actions, X_("SendMIDIfeedback"), _("Send MIDI Feedback"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_send_midi_feedback)); ActionManager::session_sensitive_actions.push_back (act); - - if (getenv ("ARDOUR_BUNDLED")) { - act = ActionManager::register_toggle_action (main_actions, X_("EnableTranslation"), _("Enable Translations"), mem_fun (*this, &ARDOUR_UI::toggle_translations)); - if (act) { - RefPtr<ToggleAction> ract = RefPtr<ToggleAction>::cast_dynamic (act); - if (ract) { - ract->set_active (!ARDOUR::translations_are_disabled()); - } - } - } - /* MIDI */ Glib::RefPtr<ActionGroup> midi_actions = ActionGroup::create (X_("MIDI")); |