gsettings: add the modules schema to the schema description file

Originally the idea was to provide the "modules" schema with paprefs,
but since module-gsettings refers to the "modules" schema in its code,
that would make module-gsettings depend on paprefs, which is not good.
Now all schemas are provided by module-gsettings, so the paprefs
dependency is avoided. Unfortunately this means that if paprefs is
modified to load some new modules, the schema in pulseaudio needs to be
updated as well.
This commit is contained in:
Tanu Kaskinen 2018-04-17 09:07:34 +03:00
parent b43d47f005
commit d7a457eaed

View file

@ -1,4 +1,14 @@
<schemalist gettext-domain="pulseaudio">
<schema id="org.freedesktop.pulseaudio.modules" path="/org/freedesktop/pulseaudio/modules/">
<child name="combine" schema="org.freedesktop.pulseaudio.module"/>
<child name="remote-access" schema="org.freedesktop.pulseaudio.module"/>
<child name="zeroconf-discover" schema="org.freedesktop.pulseaudio.module"/>
<child name="raop-discover" schema="org.freedesktop.pulseaudio.module"/>
<child name="rtp-recv" schema="org.freedesktop.pulseaudio.module"/>
<child name="rtp-send" schema="org.freedesktop.pulseaudio.module"/>
<child name="upnp-media-server" schema="org.freedesktop.pulseaudio.module"/>
</schema>
<schema id="org.freedesktop.pulseaudio.module">
<key name="name" type="s">
<default>''</default>