diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 0ce6f6cfd8..8c90f09551 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -162,6 +162,7 @@ Mixer_UI::Mixer_UI () /* add as last item of strip packer */ strip_packer.pack_end (scroller_base, true, true); scroller_base.set_size_request (PX_SCALE (20), -1); + scroller_base.signal_expose_event().connect (sigc::bind (sigc::ptr_fun(&ArdourWidgets::ArdourIcon::expose), &scroller_base, ArdourWidgets::ArdourIcon::ShadedPlusSign,)); #ifdef MIXBUS /* create a drop-shadow at the end of the mixer strips */ @@ -1675,7 +1676,7 @@ Mixer_UI::redisplay_track_list () vca_hpacker.pack_end (vca_scroller_base, true, true); vca_scroller_base.set_size_request (PX_SCALE (20), -1); - + vca_scroller_base.signal_expose_event().connect (sigc::bind (sigc::ptr_fun(&ArdourWidgets::ArdourIcon::expose), &vca_scroller_base, ArdourWidgets::ArdourIcon::ShadedPlusSign,)); vca_scroller_base.show(); for (i = rows.begin(); i != rows.end(); ++i) { diff --git a/gtk2_ardour/recorder_ui.cc b/gtk2_ardour/recorder_ui.cc index 5aec9baec5..35856b957f 100644 --- a/gtk2_ardour/recorder_ui.cc +++ b/gtk2_ardour/recorder_ui.cc @@ -41,6 +41,7 @@ #include "gtkmm2ext/utils.h" #include "gtkmm2ext/window_title.h" +#include "widgets/ardour_icon.h" #include "widgets/prompter.h" #include "widgets/tooltips.h" @@ -146,6 +147,7 @@ RecorderUI::RecorderUI () _scroller_base.add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK); _scroller_base.signal_button_release_event().connect (sigc::mem_fun(*this, &RecorderUI::scroller_button_release)); _scroller_base.set_size_request (-1, PX_SCALE (20)); + _scroller_base.signal_expose_event().connect (sigc::bind (sigc::ptr_fun(&ArdourWidgets::ArdourIcon::expose), &_scroller_base, ArdourWidgets::ArdourIcon::ShadedPlusSign,)); /* LAYOUT */ @@ -1154,7 +1156,6 @@ RecorderUI::peak_reset () /* ****************************************************************************/ - bool RecorderUI::InputPort::_size_groups_initialized = false; Glib::RefPtr RecorderUI::InputPort::_name_size_group;