diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-05-08 11:43:33 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-05-08 11:43:33 -0400 |
commit | 4cd27e47336c566d10ec88e80541097059b3c732 (patch) | |
tree | 176597e7074e1f7c5b7817f8951df840f3a8c902 /gtk2_ardour/ardour_ui_ed.cc | |
parent | a70192adff7db3962707541b198e93dd94859104 (diff) |
cleanup menus/actions mess exposed on OS X; remove video items from OS X menus (for now)
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index b3621c1779..941f1936d1 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -573,7 +573,10 @@ ARDOUR_UI::use_menubar_as_top_menubar () Gtk::Widget* widget; Application* app = Application::instance (); - /* Quit will be taken of separately */ + /* the addresses ("/ui/Main...") used below are based on the menu definitions in the menus file + */ + + /* Quit will be taken care of separately */ if ((widget = ActionManager::get_widget ("/ui/Main/Session/Quit"))) { widget->hide (); @@ -585,13 +588,13 @@ ARDOUR_UI::use_menubar_as_top_menubar () GtkApplicationMenuGroup* group = app->add_app_menu_group (); - if ((widget = ActionManager::get_widget ("/ui/Windows/toggle-about"))) { + if ((widget = ActionManager::get_widget ("/ui/Main/Session/toggle-about"))) { app->add_app_menu_item (group, dynamic_cast<MenuItem*>(widget)); - } + } - if ((widget = ActionManager::get_widget ("/ui/Windows/toggle-rc-options-editor"))) { + if ((widget = ActionManager::get_widget ("/ui/Main/Session/toggle-rc-options-editor"))) { app->add_app_menu_item (group, dynamic_cast<MenuItem*>(widget)); - } + } app->set_menu_bar (*menu_bar); } |