~indicator-applet-developers/indicator-sound/trunk.rtm-14.09

Viewing all changes in revision 460.

  • Committer: CI bot
  • Author(s): Lars Uebernickel
  • Date: 2014-10-16 13:31:32 UTC
  • mfrom: (459.1.1 rtm-14.09)
  • Revision ID: ps-jenkins@lists.canonical.com-20141016133132-rsttqqyxk1ndafxb
service.vala: don't call set_volume unnecessarily

The allow-amplified-volume setting is bound to a property on the service with the same name. GSettings always sets the target property when the binding is created. The property setter calls set_volume() unconditionally, which lead to a call on every startup of indicator-sound. That wasn't a problem until set_volume() started emitting a notification for volume changes... Fixes: 1381871
Approved by: Ted Gould

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: