From ea570316012b87f04d1de7aff11d2bebff670b97 Mon Sep 17 00:00:00 2001 From: CI bot Date: Wed, 15 Oct 2014 16:19:13 +0000 Subject: Releasing 12.10.2+14.10.20141015.5~rtm-0ubuntu1 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index e9e29d1..8d235fe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-sound (12.10.2+14.10.20141015.5~rtm-0ubuntu1) 14.09; urgency=low + + [ Ted Gould ] + * Show notifications on volume change (LP: #1378564) + + -- Ubuntu daily release Wed, 15 Oct 2014 16:19:12 +0000 + indicator-sound (12.10.2+14.10.20141010-0ubuntu1) utopic; urgency=low [ Ricardo Salveti de Araujo ] -- cgit v1.2.3 From 16a72ae6f4c18c621e16e259bc9122cdaf39eb6b Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Thu, 16 Oct 2014 15:07:51 +0200 Subject: 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... Fix this by only updating the property when the underlying value has actually changed. --- src/service.vala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/service.vala b/src/service.vala index bd44b0d..0a5725a 100644 --- a/src/service.vala +++ b/src/service.vala @@ -139,6 +139,9 @@ public class IndicatorSound.Service: Object { } set { + if (this.allow_amplified_volume == value) + return; + if (value) { /* from pulse/volume.h: #define PA_VOLUME_UI_MAX (pa_sw_volume_from_dB(+11.0)) */ this.max_volume = (double)PulseAudio.Volume.sw_from_dB(11.0) / PulseAudio.Volume.NORM; -- cgit v1.2.3 From 8cfba863c2ce74c326cb31f13f14a1de801e69f2 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 16 Oct 2014 11:12:28 -0500 Subject: No RTM changelog entries in Utopic --- debian/changelog | 7 ------- 1 file changed, 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index e82b0e3..483c78b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,3 @@ -indicator-sound (12.10.2+14.10.20141015.5~rtm-0ubuntu1) 14.09; urgency=low - - [ Ted Gould ] - * Show notifications on volume change (LP: #1378564) - - -- Ubuntu daily release Wed, 15 Oct 2014 16:19:12 +0000 - indicator-sound (12.10.2+14.10.20141010-0ubuntu1) utopic; urgency=low [ Ricardo Salveti de Araujo ] -- cgit v1.2.3