volume: Set the scale properly for delta changes via mouse/keyboard.
This commit is contained in:
parent
b5b433ee00
commit
d4f1a7622b
|
@ -40,7 +40,7 @@ ChannelWidget::ChannelWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::
|
||||||
x->get_widget("volumeScale", volumeScale);
|
x->get_widget("volumeScale", volumeScale);
|
||||||
|
|
||||||
volumeScale->set_value(100.0);
|
volumeScale->set_value(100.0);
|
||||||
volumeScale->set_increments(100.0/PA_VOLUME_NORM, 100.0/PA_VOLUME_NORM);
|
volumeScale->set_increments(1.0, 5.0);
|
||||||
|
|
||||||
volumeScale->signal_value_changed().connect(sigc::mem_fun(*this, &ChannelWidget::onVolumeScaleValueChanged));
|
volumeScale->signal_value_changed().connect(sigc::mem_fun(*this, &ChannelWidget::onVolumeScaleValueChanged));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue