aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-01 08:21:06 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-01 08:21:06 +0100
commit9facc9ae06c42ce822e78b605c58e1cb7d7db8dc (patch)
tree9cc353820f1fce07208424d71883d7d7019ea9a7 /src
parentf814857699e7903c59a856aaafa4fedecceb8bc5 (diff)
parent2626734c7e1f8060dd8b55dc25480d47758e369d (diff)
downloadayatana-indicator-display-9facc9ae06c42ce822e78b605c58e1cb7d7db8dc.tar.gz
ayatana-indicator-display-9facc9ae06c42ce822e78b605c58e1cb7d7db8dc.tar.bz2
ayatana-indicator-display-9facc9ae06c42ce822e78b605c58e1cb7d7db8dc.zip
Merge branch 'tari01-pr/rename-com-ubuntu-touch-system'
Attributes GH PR #36: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/36
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/rotation-lock.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index eb736c8..5066cbd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,7 @@
add_definitions(-DG_LOG_DOMAIN="${CMAKE_PROJECT_NAME}")
-if(EXISTS "/usr/share/glib-2.0/schemas/com.ubuntu.sound.gschema.xml")
- add_definitions( -DHAS_UBUNTU_TOUCH_SCHEMA )
+if(EXISTS "/usr/share/glib-2.0/schemas/com.lomiri.touch.system.gschema.xml")
+ add_definitions( -DHAS_LOMIRI_TOUCH_SCHEMA )
endif()
add_compile_options(
diff --git a/src/rotation-lock.cpp b/src/rotation-lock.cpp
index f671c4c..a794dd2 100644
--- a/src/rotation-lock.cpp
+++ b/src/rotation-lock.cpp
@@ -195,8 +195,8 @@ private:
****
***/
-#ifdef HAS_UBUNTU_TOUCH_SCHEMA
- static constexpr char const * m_schema_name {"com.ubuntu.touch.system"};
+#ifdef HAS_LOMIRI_TOUCH_SCHEMA
+ static constexpr char const * m_schema_name {"com.lomiri.touch.system"};
#else
static constexpr char const * m_schema_name {"org.ayatana.indicator.display"};
#endif