patch from mantis user cth103 to fix up fixed-time cross-track drags
[ardour.git] / gtk2_ardour / region_view.cc
index db2726e515e5224c2608bf91a36ea77220f25a5c..e0b6eddb1ff793173860001fe5260bc48bce9609 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: regionview.cc 691 2006-07-23 12:03:19Z drobilla $
 */
 
 #include <cmath>
@@ -149,8 +148,6 @@ RegionView::~RegionView ()
 {
        in_destructor = true;
 
-       RegionViewGoingAway (this); /* EMIT_SIGNAL */
-
        for (vector<GhostRegion*>::iterator g = ghosts.begin(); g != ghosts.end(); ++g) {
                delete *g;
        }
@@ -361,9 +358,9 @@ void
 RegionView::set_frame_color ()
 {
        if (_region->opaque()) {
-               fill_opacity = 180;
+               fill_opacity = 130;
        } else {
-               fill_opacity = 100;
+               fill_opacity = 60;
        }
 
        TimeAxisViewItem::set_frame_color ();
@@ -400,6 +397,7 @@ RegionView::region_renamed ()
 
        set_item_name (str, this);
        set_name_text (str);
+       reset_width_dependent_items (_pixel_width);
 }
 
 void