From b0f9c38c2e3f042f6340282508304b7ed90259ba Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 23 Oct 2007 14:20:31 +0000 Subject: [PATCH] make import menu item work again git-svn-id: svn://localhost/ardour2/trunk@2569 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_actions.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 051af2c898..db81531583 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -62,7 +62,7 @@ Editor::register_actions () ActionManager::register_action (editor_actions, X_("Timecode"), _("Timecode fps")); ActionManager::register_action (editor_actions, X_("Pullup"), _("Pullup / Pulldown")); ActionManager::register_action (editor_actions, X_("Subframes"), _("Subframes")); - ActionManager::register_action (editor_actions, X_("addExistingAudioFiles"), _("Add Existing Audio")); + /* add named actions for the editor */ @@ -382,6 +382,8 @@ Editor::register_actions () /* the next two are duplicate items with different names for use in two different contexts */ + ActionManager::register_action (editor_actions, X_("addExistingAudioFiles"), _("Add Existing Audio"), mem_fun (*this, &Editor::external_audio_dialog)); + act = ActionManager::register_action (editor_actions, X_("addExternalAudioToRegionList"), _("Add External Audio"), bind (mem_fun(*this, &Editor::add_external_audio_action), ImportAsRegion)); ActionManager::session_sensitive_actions.push_back (act);