X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Feditor_actions.cc;h=79900b35174c3db546564b035700bc9c7a596b1f;hb=8af589b322408aba38413dc2c85dc77ae1c9f2e4;hp=856d6b889de6fa7f493e4ff27d18e8a879e17f30;hpb=050035e7877f683027346b28972e371c1e73bb67;p=ardour.git diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 856d6b889d..79900b3517 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -41,7 +41,7 @@ #include "time_axis_view.h" #include "ui_config.h" #include "utils.h" -#include "i18n.h" +#include "pbd/i18n.h" #include "audio_time_axis.h" #include "editor_group_tabs.h" #include "editor_routes.h" @@ -645,7 +645,7 @@ Editor::register_actions () ruler_range_action->set_active (true); ruler_loop_punch_action->set_active (true); ruler_loop_punch_action->set_active (true); - ruler_bbt_action->set_active (false); + ruler_bbt_action->set_active (true); ruler_cd_marker_action->set_active (true); ruler_timecode_action->set_active (true); ruler_minsec_action->set_active (false); @@ -1711,10 +1711,6 @@ Editor::parameter_changed (std::string p) } } else if (p == "show-region-gain") { set_gain_envelope_visibility (); - } else if (p == "remote-model") { - if (_routes) { - _routes->reset_remote_control_ids (); - } } else if (p == "skip-playback") { Glib::RefPtr act = ActionManager::get_action (X_("Editor"), X_("toggle-skip-playback")); @@ -2053,6 +2049,6 @@ Editor::register_region_actions () reg_sens (_region_actions, "choose-top-region", _("Choose Top..."), sigc::bind (sigc::mem_fun (*this, &Editor::change_region_layering_order), false)); reg_sens (_region_actions, "choose-top-region-context-menu", _("Choose Top..."), sigc::bind (sigc::mem_fun (*this, &Editor::change_region_layering_order), true)); - _all_region_actions_sensitized = true; - + /* desensitize them all by default. region selection will change this */ + sensitize_all_region_actions (false); }