mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
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
This commit is contained in:
parent
51795d2e11
commit
b258ad792e
8 changed files with 27 additions and 41 deletions
|
|
@ -37,8 +37,8 @@ using namespace Gtk;
|
|||
using namespace Gtkmm2ext;
|
||||
using namespace ArdourWidgets;
|
||||
|
||||
Tabbable::Tabbable (Widget& w, const string& name, bool tabbed_by_default)
|
||||
: WindowProxy (name)
|
||||
Tabbable::Tabbable (Widget& w, const string& visible_name, string const & nontranslatable_name, bool tabbed_by_default)
|
||||
: WindowProxy (visible_name, nontranslatable_name)
|
||||
, _contents (w)
|
||||
, _parent_notebook (0)
|
||||
, tab_requested_by_state (tabbed_by_default)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue