From b258ad792e535a7587f2d055ec519ceb3f861f4d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 1 May 2020 14:28:05 -0600 Subject: force provision of "menu-name" for all WindowProxy objects, and thus Tabbables Actions for hide/show/attach/detach tabbables use hard-coded names which are not translated. Using Tabbable/WindowProxy::name() to lookup the action will fail, since the name can be translated. This changes just removes the option to not provide a menu-name when creating these objects, and uses the name menu-name when looking up an action by name --- gtk2_ardour/public_editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/public_editor.cc') diff --git a/gtk2_ardour/public_editor.cc b/gtk2_ardour/public_editor.cc index 1e5d304ab2..4ca046726f 100644 --- a/gtk2_ardour/public_editor.cc +++ b/gtk2_ardour/public_editor.cc @@ -32,7 +32,7 @@ const int PublicEditor::horizontal_spacing = 6; sigc::signal PublicEditor::DropDownKeys; PublicEditor::PublicEditor (Gtk::Widget& content) - : Tabbable (content, _("Editor")) + : Tabbable (content, _("Editor"), X_("editor")) , _suspend_route_redisplay_counter (0) { } -- cgit v1.2.3