aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-10-28 17:50:08 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-01 08:20:06 +0100
commit2626734c7e1f8060dd8b55dc25480d47758e369d (patch)
tree9cc353820f1fce07208424d71883d7d7019ea9a7 /src
parentf814857699e7903c59a856aaafa4fedecceb8bc5 (diff)
downloadayatana-indicator-display-2626734c7e1f8060dd8b55dc25480d47758e369d.tar.gz
ayatana-indicator-display-2626734c7e1f8060dd8b55dc25480d47758e369d.tar.bz2
ayatana-indicator-display-2626734c7e1f8060dd8b55dc25480d47758e369d.zip
Rename com.ubuntu.touch.system to com.lomiri.touch.system
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