diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-11 21:45:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-11 21:45:21 +0000 |
commit | bb02870c15a9db3f46e2e24d1d5c72e9ca5dfe0b (patch) | |
tree | 08bb1cc993982c52227b1108913d838f4a55eeb1 /gtk2_ardour/editor_region_list.cc | |
parent | e545b222b9ff9bde402da247910db424a04c1d2e (diff) |
various fixes to named selection mgmt and display, plus fixes for xfade mgmt and a bit of debugging for them too
git-svn-id: svn://localhost/ardour2/trunk@1313 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_region_list.cc')
-rw-r--r-- | gtk2_ardour/editor_region_list.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gtk2_ardour/editor_region_list.cc b/gtk2_ardour/editor_region_list.cc index 2f2aea7b7d..d2bcf5931d 100644 --- a/gtk2_ardour/editor_region_list.cc +++ b/gtk2_ardour/editor_region_list.cc @@ -50,7 +50,8 @@ using namespace Editing; void Editor::handle_audio_region_removed (boost::weak_ptr<AudioRegion> wregion) { - ENSURE_GUI_THREAD (bind (mem_fun (*this, &Editor::handle_audio_region_removed), wregion)); + cerr << "removed region\n"; + ENSURE_GUI_THREAD (mem_fun (*this, &Editor::redisplay_regions)); redisplay_regions (); } @@ -256,12 +257,6 @@ Editor::redisplay_regions () } void -Editor::region_list_clear () -{ - region_list_model->clear(); -} - -void Editor::build_region_list_menu () { region_list_menu = dynamic_cast<Menu*>(ActionManager::get_widget ("/RegionListMenu")); @@ -562,6 +557,7 @@ Editor::hide_a_region (boost::shared_ptr<Region> r) void Editor::remove_a_region (boost::shared_ptr<Region> r) { + cerr << "remove " << r->name(); session->remove_region_from_region_list (r); } @@ -580,6 +576,7 @@ Editor::hide_region_from_region_list () void Editor::remove_region_from_region_list () { + cerr << "Mapping remove over region selection\n"; region_list_selection_mapover (mem_fun (*this, &Editor::remove_a_region)); } |