aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-01 01:36:57 +0100
committerRobert Tari <robert@tari.in>2021-11-01 01:36:57 +0100
commitde7664b8ab58d73de2aa18a4363aa191e20f738b (patch)
tree0e8e0cf8a7fc596d0d9648b3c97aef13953d6658
parent75fe9ada8fc68023abf7ba6563e0ead4d5e46b45 (diff)
downloadayatana-indicator-sound-de7664b8ab58d73de2aa18a4363aa191e20f738b.tar.gz
ayatana-indicator-sound-de7664b8ab58d73de2aa18a4363aa191e20f738b.tar.bz2
ayatana-indicator-sound-de7664b8ab58d73de2aa18a4363aa191e20f738b.zip
Rename com.ubuntu.touch.AccountsService.Sound to com.lomiri.touch.AccountsService.Sound
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/accounts-service-system-sound-settings.vala4
-rw-r--r--tests/accounts-service-mock.h4
3 files changed, 7 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fc618d9..aba0e2c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -18,7 +18,7 @@ else()
set (HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS OFF)
endif()
-if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.touch.AccountsService.Sound.xml")
+if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml")
set (HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS ON)
set (VALA_FILE_ACCTSERVICE_SYSTEMSOUND_SETTINGS "accounts-service-system-sound-settings")
set (VALA_DEFINE_ACCTSERVICE_SYSTEMSOUND_SETTINGS "--define=HAS_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS")
diff --git a/src/accounts-service-system-sound-settings.vala b/src/accounts-service-system-sound-settings.vala
index 84320c5..0fa3d0c 100644
--- a/src/accounts-service-system-sound-settings.vala
+++ b/src/accounts-service-system-sound-settings.vala
@@ -1,5 +1,6 @@
/*
* Copyright 2014 © Canonical Ltd.
+ * Copyright 2021 © Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +16,10 @@
*
* Authors:
* Ted Gould <ted@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
-[DBus (name = "com.ubuntu.touch.AccountsService.Sound")]
+[DBus (name = "com.lomiri.touch.AccountsService.Sound")]
public interface AccountsServiceSystemSoundSettings : Object {
// properties
public abstract bool silent_mode {owned get; set;}
diff --git a/tests/accounts-service-mock.h b/tests/accounts-service-mock.h
index 95fdf62..2fa7760 100644
--- a/tests/accounts-service-mock.h
+++ b/tests/accounts-service-mock.h
@@ -1,5 +1,6 @@
/*
* Copyright © 2014 Canonical Ltd.
+ * Copyright © 2021 Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,6 +16,7 @@
*
* Authors:
* Ted Gould <ted@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include <memory>
@@ -85,7 +87,7 @@ class AccountsServiceMock
"ArtUrl", G_VARIANT_TYPE_STRING,
g_variant_new_string(""), NULL);
- syssoundobj = dbus_test_dbus_mock_get_object(mock, "/user", "com.ubuntu.touch.AccountsService.Sound", NULL);
+ syssoundobj = dbus_test_dbus_mock_get_object(mock, "/user", "com.lomiri.touch.AccountsService.Sound", NULL);
dbus_test_dbus_mock_object_add_property(mock, syssoundobj,
"SilentMode", G_VARIANT_TYPE_BOOLEAN,
g_variant_new_boolean(FALSE), NULL);