diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-11-03 15:33:02 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-11-04 18:39:45 +0000 |
commit | db2ac21ee35f785cb21d7b1e782eb34c9753c4f4 (patch) | |
tree | 8199a0323689f6ae04c4852b5197559ae82c2561 /data | |
parent | 34b03f910bd8b889f0f71edfa9668b74d8ad8ba6 (diff) | |
download | telepathy-mission-control-db2ac21ee35f785cb21d7b1e782eb34c9753c4f4.tar.gz |
Add a GSettings schema with use-conn key
When the NM/ConnMan code lived in Empathy, there was a GSettings key
which could be flipped to false to make Empathy always assume it had a
network connection.
This schema provides one GSettings key,
im.telepathy.MissionControl.FromEmpathy use-conn, which happens to use
the same dconf path as the Empathy key uses. This should make the two
GSettings keys aliases for the same underlying value in dconf; we get a
migration path for free.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 9 | ||||
-rw-r--r-- | data/im.telepathy.MissionControl.FromEmpathy.gschema.xml | 18 |
2 files changed, 27 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 00000000..48c778d5 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,9 @@ +gsettings_SCHEMAS = \ + im.telepathy.MissionControl.FromEmpathy.gschema.xml \ + $(NULL) +@GSETTINGS_RULES@ + +EXTRA_DIST = \ + $(gsettings_SCHEMAS) \ + $(NULL) + diff --git a/data/im.telepathy.MissionControl.FromEmpathy.gschema.xml b/data/im.telepathy.MissionControl.FromEmpathy.gschema.xml new file mode 100644 index 00000000..ad5f595a --- /dev/null +++ b/data/im.telepathy.MissionControl.FromEmpathy.gschema.xml @@ -0,0 +1,18 @@ +<schemalist> + + <enum id="position"> + <value nick="top-left" value="1"/> + <value nick="top-right" value="2"/> + <value nick="bottom-left" value="3"/> + <value nick="bottom-right" value="4"/> + </enum> + + <!-- sic: we are aliasing dconf key paths from Empathy's schema --> + <schema id="im.telepathy.MissionControl.FromEmpathy" path="/org/gnome/empathy/"> + <key name="use-conn" type="b"> + <default>true</default> + <summary>Connectivity managers should be used</summary> + <description>Whether connectivity managers should be used to automatically disconnect/reconnect.</description> + </key> + </schema> +</schemalist> |