aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-13 09:35:12 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-13 09:35:12 +0200
commit30f951b9ff276a53f8b0d9a79fcb6a074c909393 (patch)
tree6f2f1c94c40a46a1bd583d50d4563552ee2b2d07 /data
parent04baf260b65ac95e1b4aa6f90c63e7ca06997ead (diff)
parentfb3029c0a3121b83f1bca05006e5f95512c709e2 (diff)
downloadayatana-indicator-display-30f951b9ff276a53f8b0d9a79fcb6a074c909393.tar.gz
ayatana-indicator-display-30f951b9ff276a53f8b0d9a79fcb6a074c909393.tar.bz2
ayatana-indicator-display-30f951b9ff276a53f8b0d9a79fcb6a074c909393.zip
Merge branch 'tari01-pr/fix-schema-path'
Attributes GH PR #21: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/21
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt12
-rw-r--r--data/org.ayatana.indicator.display.gschema.xml (renamed from data/org.ayatana.display.gschema.xml)6
2 files changed, 14 insertions, 4 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 177e8fd..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()
##
@@ -29,6 +29,16 @@ install (FILES "${SYSTEMD_USER_FILE}"
DESTINATION "${SYSTEMD_USER_DIR}")
##
+## XDG Autostart Config File
+##
+
+# build it
+configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop")
+
+# install it
+install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop" DESTINATION "/etc/xdg/autostart")
+
+##
## Ayatana Indicator File
##
diff --git a/data/org.ayatana.display.gschema.xml b/data/org.ayatana.indicator.display.gschema.xml
index 70d6e46..9afa253 100644
--- a/data/org.ayatana.display.gschema.xml
+++ b/data/org.ayatana.indicator.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>