aboutsummaryrefslogtreecommitdiff
path: root/data/org.ayatana.display.gschema.xml.in
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-19 09:16:00 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-19 09:34:25 +0100
commitf59500bfe360dce317af6b3c24c9a71206e9011a (patch)
treec83c457014f69088aecfeef6cc3b4cb5f455e474 /data/org.ayatana.display.gschema.xml.in
parent5a2368bf0bf87721540ec0183b6ba4c88fd0be3e (diff)
downloadayatana-indicator-display-f59500bfe360dce317af6b3c24c9a71206e9011a.tar.gz
ayatana-indicator-display-f59500bfe360dce317af6b3c24c9a71206e9011a.tar.bz2
ayatana-indicator-display-f59500bfe360dce317af6b3c24c9a71206e9011a.zip
GSettings: Use org.ayatana.display.gschema.xml for non-Lomiri sessions and unit tests.
Additionally, internationalize the org.ayatana.display GSettings schema. Fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/39
Diffstat (limited to 'data/org.ayatana.display.gschema.xml.in')
-rw-r--r--data/org.ayatana.display.gschema.xml.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/org.ayatana.display.gschema.xml.in b/data/org.ayatana.display.gschema.xml.in
new file mode 100644
index 0000000..afcd996
--- /dev/null
+++ b/data/org.ayatana.display.gschema.xml.in
@@ -0,0 +1,24 @@
+<schemalist gettext-domain="ayatana-indicator-display">
+ <enum id="org.ayatana.indicator.display.ScreenOrientation">
+ <value value="0" nick="none"/>
+ <value value="1" nick="PrimaryOrientation"/>
+ <value value="2" nick="LandscapeOrientation"/>
+ <value value="3" nick="PortraitOrientation"/>
+ <value value="4" nick="InvertedLandscapeOrientation"/>
+ <value value="5" nick="InvertedPortraitOrientation"/>
+ </enum>
+ <schema id="org.ayatana.indicator.display" path="/org/ayatana/indicator/display/">
+ <key name="rotation-lock" type="b">
+ <default>false</default>
+ <_summary>Lock rotation</_summary>
+ <_description>
+ Lock automatic display rotation.
+ </_description>
+ </key>
+ <key name="orientation-lock" enum="org.ayatana.indicator.display.ScreenOrientation">
+ <default>"none"</default>
+ <_summary>Orientation lock</_summary>
+ <_description>Locks orientation to a specific value.</_description>
+ </key>
+ </schema>
+</schemalist>