13
0

don't show 'unity-line' (default value) for barcontrollers

This commit is contained in:
Robin Gareus 2014-09-02 16:05:54 +02:00
parent 3b9b65879a
commit 9ecdb765aa

View File

@ -49,6 +49,7 @@ BarController::BarController (Gtk::Adjustment& adj,
set (.5, .5, 1.0, 1.0); set (.5, .5, 1.0, 1.0);
set_border_width (0); set_border_width (0);
_slider.set_controllable (mc); _slider.set_controllable (mc);
_slider.show_unity_line (false);
_slider.StartGesture.connect (sigc::mem_fun(*this, &BarController::passtrhu_gesture_start)); _slider.StartGesture.connect (sigc::mem_fun(*this, &BarController::passtrhu_gesture_start));
_slider.StopGesture.connect (sigc::mem_fun(*this, &BarController::passtrhu_gesture_stop)); _slider.StopGesture.connect (sigc::mem_fun(*this, &BarController::passtrhu_gesture_stop));