From 2b344df118fe82ff89bd878b86e1827d7ff85528 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Mon, 3 Mar 2014 10:32:53 +0100 Subject: Honor com.canonical.indicator.sound visible --- src/service.vala | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/service.vala b/src/service.vala index 22e5f1c..2b21275 100644 --- a/src/service.vala +++ b/src/service.vala @@ -22,6 +22,9 @@ public class IndicatorSound.Service: Object { this.settings = new Settings ("com.canonical.indicator.sound"); this.sharedsettings = new Settings ("com.ubuntu.sound"); + this.settings.bind ("visible", this, "visible", SettingsBindFlags.GET); + this.notify["visible"].connect ( () => this.update_root_icon () ); + this.volume_control = new VolumeControl (); this.players = new MediaPlayerList (); @@ -74,6 +77,8 @@ public class IndicatorSound.Service: Object { return 0; } + public bool visible { get; set; } + public bool allow_amplified_volume { get { return this.max_volume > 1.0; @@ -204,7 +209,7 @@ public class IndicatorSound.Service: Object { builder.add ("{sv}", "title", new Variant.string (_("Sound"))); builder.add ("{sv}", "accessible-desc", new Variant.string (accessible_name)); builder.add ("{sv}", "icon", serialize_themed_icon (icon)); - builder.add ("{sv}", "visible", new Variant.boolean (true)); + builder.add ("{sv}", "visible", new Variant.boolean (this.visible)); root_action.set_state (builder.end()); } -- cgit v1.2.3 From 43e1c2b00899ecfe37cbba2f3f2d48d1dbedefa1 Mon Sep 17 00:00:00 2001 From: CI bot Date: Wed, 5 Mar 2014 08:44:15 +0000 Subject: Releasing 12.10.2+14.04.20140305-0ubuntu1 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 818a735..4a3693a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-sound (12.10.2+14.04.20140305-0ubuntu1) trusty; urgency=low + + [ Lars Uebernickel ] + * Honor com.canonical.indicator.sound visible (LP: #829648) + + -- Ubuntu daily release Wed, 05 Mar 2014 08:44:14 +0000 + indicator-sound (12.10.2+14.04.20140224-0ubuntu1) trusty; urgency=low [ Sebastien Bacher ] -- cgit v1.2.3 From c02662eef33dba2a01d8dd8cda90efd7cd599c1b Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Tue, 11 Mar 2014 14:28:23 +0100 Subject: Add desktop_lockscreen profile --- data/com.canonical.indicator.sound | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/com.canonical.indicator.sound b/data/com.canonical.indicator.sound index ae5fd5d..fca15be 100644 --- a/data/com.canonical.indicator.sound +++ b/data/com.canonical.indicator.sound @@ -12,6 +12,9 @@ ObjectPath=/com/canonical/indicator/sound/phone [desktop_greeter] ObjectPath=/com/canonical/indicator/sound/desktop_greeter +[desktop_lockscreen] +ObjectPath=/com/canonical/indicator/sound/desktop_greeter + [ubiquity] ObjectPath=/com/canonical/indicator/sound/desktop_greeter -- cgit v1.2.3 From e2fdd75b6e7fd1c8572dd10356272668b99d33dd Mon Sep 17 00:00:00 2001 From: CI bot Date: Tue, 11 Mar 2014 18:26:29 +0000 Subject: Releasing 12.10.2+14.04.20140311.1-0ubuntu1 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4a3693a..bc53fe2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-sound (12.10.2+14.04.20140311.1-0ubuntu1) trusty; urgency=low + + [ Lars Uebernickel ] + * Add desktop_lockscreen profile + + -- Ubuntu daily release Tue, 11 Mar 2014 18:26:29 +0000 + indicator-sound (12.10.2+14.04.20140305-0ubuntu1) trusty; urgency=low [ Lars Uebernickel ] -- cgit v1.2.3