diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/service.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala index b1b5ba9..22e5f1c 100644 --- a/src/service.vala +++ b/src/service.vala @@ -20,6 +20,7 @@ public class IndicatorSound.Service: Object { public Service () { this.settings = new Settings ("com.canonical.indicator.sound"); + this.sharedsettings = new Settings ("com.ubuntu.sound"); this.volume_control = new VolumeControl (); @@ -55,7 +56,7 @@ public class IndicatorSound.Service: Object { } } - settings.bind ("allow-amplified-volume", this, "allow-amplified-volume", SettingsBindFlags.GET); + sharedsettings.bind ("allow-amplified-volume", this, "allow-amplified-volume", SettingsBindFlags.GET); } public int run () { @@ -103,6 +104,7 @@ public class IndicatorSound.Service: Object { SimpleActionGroup actions; HashTable<string, SoundMenu> menus; Settings settings; + Settings sharedsettings; VolumeControl volume_control; MediaPlayerList players; uint player_action_update_id; |