summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-10-23 14:20:31 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-10-23 14:20:31 +0000
commitb0f9c38c2e3f042f6340282508304b7ed90259ba (patch)
tree8492f755b4ceaef575b56118a78671c34e25617e /gtk2_ardour
parentfc9ab1ccbdfc4ae8bdec962e4c9439c1fc59a55f (diff)
make import menu item work again
git-svn-id: svn://localhost/ardour2/trunk@2569 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_actions.cc4
1 files changed, 3 insertions, 1 deletions
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);