summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_actions.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-11-17 21:31:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-11-17 21:31:37 +0000
commitcdc2d055f1ede3d9565dbf2b2d1abbf87a1f622c (patch)
tree2523a3b351add1113224052612864327f526929e /gtk2_ardour/editor_actions.cc
parent5d515004903f75d8c18328c0bdb84008ae5bfe23 (diff)
more fixes on the long road to compiling
git-svn-id: svn://localhost/trunk/ardour2@103 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r--gtk2_ardour/editor_actions.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc
index 7ff4594743..13b4769111 100644
--- a/gtk2_ardour/editor_actions.cc
+++ b/gtk2_ardour/editor_actions.cc
@@ -17,10 +17,15 @@ using namespace ActionManager;
void
Editor::register_actions ()
{
- /* add named actions for the editor */
Glib::RefPtr<ActionGroup> editor_actions = ActionGroup::create (X_("Editor"));
+ /* start with actions shared between all top level (major) windows */
+
+ merge_actions (editor_actions, ARDOUR_UI::instance()::get_common_actions());
+
+ /* add named actions for the editor */
+
register_action (editor_actions, "toggle-xfades-active", _("toggle xfades active"), mem_fun(*this, &Editor::toggle_xfades_active));
register_action (editor_actions, "playhead-to-next-region-start", _("playhead to next region start"), bind (mem_fun(*this, &Editor::cursor_to_next_region_point), playhead_cursor, RegionPoint (Start)));