make import menu item work again
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 23 Oct 2007 14:20:31 +0000 (14:20 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 23 Oct 2007 14:20:31 +0000 (14:20 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2569 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_actions.cc

index 051af2c89854a0c9af376fc20dd5c5aaf3e659da..db81531583b42e0f527ed9094482848a687cd7a3 100644 (file)
@@ -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);