diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-09 13:04:23 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-09 13:04:23 +0000 |
commit | 40bc1c239eef8edfe08a456c189aff2cef3c6ee8 (patch) | |
tree | 990d09c475a98a5426b0d3314434339f33746025 /gtk2_ardour/editor_region_list.cc | |
parent | d0cd7d0048830a0ebe61e207b8522e69c72ec7f3 (diff) |
more changes for the import dialog, with breakout of importable source code into its own files
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2437 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_region_list.cc')
-rw-r--r-- | gtk2_ardour/editor_region_list.cc | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/gtk2_ardour/editor_region_list.cc b/gtk2_ardour/editor_region_list.cc index 55e668eb00..b59b7ff583 100644 --- a/gtk2_ardour/editor_region_list.cc +++ b/gtk2_ardour/editor_region_list.cc @@ -134,21 +134,11 @@ Editor::add_audio_region_to_region_display (boost::shared_ptr<AudioRegion> regio if (region->source()->name()[0] == '/') { // external file - if (region->whole_file()) { - - boost::shared_ptr<AudioFileSource> afs = boost::dynamic_pointer_cast<AudioFileSource>(region->source()); - - str = ".../"; - - if (afs) { - str = region_name_from_path (afs->path(), region->n_channels() > 1); - } else { - str += region->source()->name(); - } + /* XXX there was old code here to try to show an abbreviated version + of the path name for whole file regions. + */ - } else { - str = region->name(); - } + str = region->name(); } else { |