volume: Set the scale properly for delta changes via mouse/keyboard.

This commit is contained in:
Colin Guthrie 2009-10-03 12:20:35 +01:00
parent b5b433ee00
commit d4f1a7622b
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ ChannelWidget::ChannelWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::
x->get_widget("volumeScale", volumeScale);
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));
}