aboutsummaryrefslogtreecommitdiff
path: root/src/options-gsettings.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-22 23:07:30 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-22 23:07:30 +0000
commit13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc (patch)
tree91d4d03a4980df9a072a371578c7c1993742e838 /src/options-gsettings.vala
parent007ee3b3b425a31e31260c62baf789407bc8b54a (diff)
downloadayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.tar.gz
ayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.tar.bz2
ayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.zip
Fork from Ubuntu's indicator-sound.
Diffstat (limited to 'src/options-gsettings.vala')
-rw-r--r--src/options-gsettings.vala7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/options-gsettings.vala b/src/options-gsettings.vala
index 85fdc66..39d3c83 100644
--- a/src/options-gsettings.vala
+++ b/src/options-gsettings.vala
@@ -30,9 +30,12 @@ public class IndicatorSound.OptionsGSettings : Options
~OptionsGSettings() {
}
- private Settings _settings = new Settings ("com.canonical.indicator.sound");
+ private Settings _settings = new Settings ("org.ayatana.indicator.sound");
+#if HAS_UBUNTU_SOUND_SETTINGS
private Settings _shared_settings = new Settings ("com.ubuntu.sound");
-
+#else
+ private Settings _shared_settings = new Settings ("org.ayatana.sound");
+#endif
/** MAX VOLUME PROPERTY **/
private static const string AMP_dB_KEY = "amplified-volume-decibels";