diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-08 13:10:59 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-08 13:10:59 +0100 |
commit | abc22af7ef92c67b0fbd757c2ef3899b686c95ac (patch) | |
tree | 678e48035c4b1edf5a708ee49bbdfc4a8a5e7d9c /src/volume-control-pulse.vala | |
parent | 2f227c6d09d52e593a11bfe8cc4cffa2b5b2a7ed (diff) | |
parent | 0efe14ff8a00cc73a68a10898609c235ac1f4148 (diff) | |
download | ayatana-indicator-sound-abc22af7ef92c67b0fbd757c2ef3899b686c95ac.tar.gz ayatana-indicator-sound-abc22af7ef92c67b0fbd757c2ef3899b686c95ac.tar.bz2 ayatana-indicator-sound-abc22af7ef92c67b0fbd757c2ef3899b686c95ac.zip |
Merge branch 'tari01-pr/restrict-com-canonical-settings-sound-to-unity'
Attributes GH PR #53: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/53
Diffstat (limited to 'src/volume-control-pulse.vala')
-rw-r--r-- | src/volume-control-pulse.vala | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala index fdb939e..706b0fe 100644 --- a/src/volume-control-pulse.vala +++ b/src/volume-control-pulse.vala @@ -520,12 +520,16 @@ public class VolumeControlPulse : VolumeControl this.ready = false; } - /* FIXME: Ubuntu Settings Daemon specifics */ + /* Ubuntu Settings Daemon specifics */ var props = new Proplist (); - props.sets (Proplist.PROP_APPLICATION_NAME, "Ubuntu Audio Settings"); - props.sets (Proplist.PROP_APPLICATION_ID, "com.canonical.settings.sound"); - props.sets (Proplist.PROP_APPLICATION_ICON_NAME, "multimedia-volume-control"); - props.sets (Proplist.PROP_APPLICATION_VERSION, "0.1"); + + if (AyatanaCommon.utils_is_unity()) + { + props.sets (Proplist.PROP_APPLICATION_NAME, "Ubuntu Audio Settings"); + props.sets (Proplist.PROP_APPLICATION_ID, "com.canonical.settings.sound"); + props.sets (Proplist.PROP_APPLICATION_ICON_NAME, "multimedia-volume-control"); + props.sets (Proplist.PROP_APPLICATION_VERSION, "0.1"); + } reconnect_pulse_dbus (); |