summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-05-01 14:28:05 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-05-01 14:33:47 -0600
commitb258ad792e535a7587f2d055ec519ceb3f861f4d (patch)
tree74e23cf2bb4849ba0229663de8ba0ca207d1de98 /gtk2_ardour/rc_option_editor.cc
parent51795d2e117cd05d6951b70dcda57faa757d56b4 (diff)
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
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 1e7b565128..b323c1c0e6 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -2294,7 +2294,7 @@ MidiPortOptions::pretty_name_edit (std::string const & path, string const & new_
RCOptionEditor::RCOptionEditor ()
: OptionEditorContainer (Config, string_compose (_("%1 Preferences"), PROGRAM_NAME))
/* pack self-as-vbox into tabbable */
- , Tabbable (*this, _("Preferences"), /* detached by default */ false)
+ , Tabbable (*this, _("Preferences"), _("preferences"), /* detached by default */ false)
, _rc_config (Config)
, _mixer_strip_visibility ("mixer-element-visibility")
{