more waveform drawing/coloring changes
[ardour.git] / gtk2_ardour / mixer_ui.cc
index fc39115c33472a7835f9d7c06f873e281afcd01d..e3a97daa6f98431e465a29b1f0a192b24536504f 100644 (file)
@@ -83,6 +83,7 @@ Mixer_UI::instance ()
 
 Mixer_UI::Mixer_UI ()
        : Window (Gtk::WINDOW_TOPLEVEL)
+       , VisibilityTracker (*((Gtk::Window*) this))
        , _visible (false)
        , no_track_list_redisplay (false)
        , in_group_row_change (false)
@@ -97,6 +98,9 @@ Mixer_UI::Mixer_UI ()
 
        Route::SyncOrderKeys.connect (*this, invalidator (*this), boost::bind (&Mixer_UI::sync_treeview_from_order_keys, this, _1), gui_context());
 
+       scroller.set_can_default (true);
+       set_default (scroller);
+
        scroller_base.set_flags (Gtk::CAN_FOCUS);
        scroller_base.add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK);
        scroller_base.set_name ("MixerWindow");
@@ -318,7 +322,7 @@ Mixer_UI::add_strips (RouteList& routes)
                for (RouteList::iterator x = routes.begin(); x != routes.end(); ++x) {
                        boost::shared_ptr<Route> route = (*x);
                        
-                       if (route->is_hidden()) {
+                       if (route->is_auditioner()) {
                                continue;
                        }
                        
@@ -1935,3 +1939,4 @@ Mixer_UI::toggle_midi_input_active (bool flip_others)
        
        _session->set_exclusive_input_active (rl, onoff, flip_others);
 }
+