aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-03 21:04:41 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-08 09:02:06 +0100
commit1ca91789f224d76507e2a2eac1cfef46c5c3c902 (patch)
tree289424e39cdd35b229fdec323169dd0a222d46f8 /tests
parent3cec34da0d992880b4e5013e4906bcd74630be05 (diff)
downloadayatana-indicator-sound-1ca91789f224d76507e2a2eac1cfef46c5c3c902.tar.gz
ayatana-indicator-sound-1ca91789f224d76507e2a2eac1cfef46c5c3c902.tar.bz2
ayatana-indicator-sound-1ca91789f224d76507e2a2eac1cfef46c5c3c902.zip
Rename com.ubuntu.sound
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
-rw-r--r--tests/integration/indicator-sound-test-base.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 10c3cf5..9a80bdd 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -33,8 +33,8 @@ add_custom_target (
# and help the tests to find that file by setting -DSCHEMA_DIR
set (XDG_DATA_DIRS "${CMAKE_CURRENT_BINARY_DIR}/gsettings-schemas")
set (SCHEMA_DIR "${XDG_DATA_DIRS}/glib-2.0/schemas")
-if (EXISTS /usr/share/glib-2.0/schemas/com.ubuntu.sound.gschema.xml)
- set (SOUND_SCHEMA /usr/share/glib-2.0/schemas/com.ubuntu.sound.gschema.xml)
+if (EXISTS /usr/share/glib-2.0/schemas/com.lomiri.sound.gschema.xml)
+ set (SOUND_SCHEMA /usr/share/glib-2.0/schemas/com.lomiri.sound.gschema.xml)
add_definitions ( -DHAS_UBUNTU_SOUND_SCHEMA )
else()
set (SOUND_SCHEMA ${CMAKE_SOURCE_DIR}/data/org.ayatana.sound.gschema.xml)
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp
index b92cc9f..869139b 100644
--- a/tests/integration/indicator-sound-test-base.cpp
+++ b/tests/integration/indicator-sound-test-base.cpp
@@ -184,7 +184,7 @@ bool IndicatorSoundTestBase::resetAllowAmplifiedVolume()
proc.start("gsettings", QStringList()
<< "reset"
#ifdef HAS_UBUNTU_SOUND_SCHEMA
- << "com.ubuntu.sound"
+ << "com.lomiri.sound"
#else
<< "org.ayatana.sound"
#endif