aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-14 07:24:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-14 07:24:06 +0200
commit8ab565a265147e438fc60e1693f6b744f794be62 (patch)
tree0a71a6e0605124d135e3fce7129e7937c2ce2bcd
parent07df9869efb56d623c96959bfaf9a2fd251f6df7 (diff)
parent18b77712f01a3d8f74262fc4ab5974e2a9c508e1 (diff)
downloadayatana-indicator-display-8ab565a265147e438fc60e1693f6b744f794be62.tar.gz
ayatana-indicator-display-8ab565a265147e438fc60e1693f6b744f794be62.tar.bz2
ayatana-indicator-display-8ab565a265147e438fc60e1693f6b744f794be62.zip
Merge branch 'tari01-pr/fix-schema-path'
Attributes GH PR #27: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/27
-rw-r--r--data/CMakeLists.txt2
-rw-r--r--data/org.ayatana.display.gschema.xml6
-rw-r--r--src/rotation-lock.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index df734f1..aea23cb 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -5,7 +5,7 @@ find_package(GSettings)
##
if(NOT EXISTS /usr/share/glib-2.0/schemas/com.ubuntu.touch.system.gschema.xml)
- add_schema ("org.ayatana.display.gschema.xml")
+ add_schema ("org.ayatana.indicator.display.gschema.xml")
endif()
##
diff --git a/data/org.ayatana.display.gschema.xml b/data/org.ayatana.display.gschema.xml
index 70d6e46..9afa253 100644
--- a/data/org.ayatana.display.gschema.xml
+++ b/data/org.ayatana.display.gschema.xml
@@ -1,5 +1,5 @@
<schemalist gettext-domain="ayatana-indicator-display">
- <enum id="org.ayatana.display.ScreenOrientation">
+ <enum id="org.ayatana.indicator.display.ScreenOrientation">
<value value="0" nick="none"/>
<value value="1" nick="PrimaryOrientation"/>
<value value="2" nick="LandscapeOrientation"/>
@@ -7,7 +7,7 @@
<value value="4" nick="InvertedLandscapeOrientation"/>
<value value="5" nick="InvertedPortraitOrientation"/>
</enum>
- <schema id="org.ayatana.display" path="/org/ayatana/display/">
+ <schema id="org.ayatana.indicator.display" path="/org/ayatana/indicator/display/">
<key name="rotation-lock" type="b">
<default>false</default>
<summary>Lock rotation</summary>
@@ -15,7 +15,7 @@
Lock automatic display rotation.
</description>
</key>
- <key name="orientation-lock" enum="org.ayatana.display.ScreenOrientation">
+ <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>
diff --git a/src/rotation-lock.cpp b/src/rotation-lock.cpp
index b27be71..f671c4c 100644
--- a/src/rotation-lock.cpp
+++ b/src/rotation-lock.cpp
@@ -198,7 +198,7 @@ private:
#ifdef HAS_UBUNTU_TOUCH_SCHEMA
static constexpr char const * m_schema_name {"com.ubuntu.touch.system"};
#else
- static constexpr char const * m_schema_name {"org.ayatana.display"};
+ static constexpr char const * m_schema_name {"org.ayatana.indicator.display"};
#endif
GSettings* m_settings = nullptr;
GSimpleActionGroup* m_action_group = nullptr;