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 --- libs/widgets/widgets/tabbable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/widgets/widgets') diff --git a/libs/widgets/widgets/tabbable.h b/libs/widgets/widgets/tabbable.h index f194485517..af2ced6e27 100644 --- a/libs/widgets/widgets/tabbable.h +++ b/libs/widgets/widgets/tabbable.h @@ -44,7 +44,7 @@ namespace ArdourWidgets { class LIBWIDGETS_API Tabbable : public Gtkmm2ext::WindowProxy { public: - Tabbable (Gtk::Widget&, const std::string&, bool tabbed_by_default = true); + Tabbable (Gtk::Widget&, const std::string& user_visible_name, std::string const & untranslated_name, bool tabbed_by_default = true); ~Tabbable (); void add_to_notebook (Gtk::Notebook& notebook, const std::string& tab_title); -- cgit v1.2.3