diff options
-rw-r--r-- | src/CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/accounts-service-privacy-settings.vala | 8 | ||||
-rw-r--r-- | src/accounts-service-user.vala | 6 |
3 files changed, 9 insertions, 12 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d157b58..f886f81 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -10,12 +10,9 @@ if(EXISTS "/usr/share/glib-2.0/schemas/com.ubuntu.sound.gschema.xml") set (VALA_DEFINE_UBUNTU_SOUND_SCHEMA "--define=HAS_UBUNTU_SOUND_SCHEMA") endif() -if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.touch.AccountsService.SecurityPrivacy.xml") - set (HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS ON) +if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.SecurityPrivacy.xml") set (VALA_FILE_ACCTSERVICE_PRIVACY_SETTINGS "accounts-service-privacy-settings") - set (VALA_DEFINE_ACCTSERVICE_PRIVACY_SETTINGS "--define=HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS") -else() - set (HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS OFF) + set (VALA_DEFINE_ACCTSERVICE_PRIVACY_SETTINGS "--define=HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS") endif() if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml") diff --git a/src/accounts-service-privacy-settings.vala b/src/accounts-service-privacy-settings.vala index 1f5838c..da08020 100644 --- a/src/accounts-service-privacy-settings.vala +++ b/src/accounts-service-privacy-settings.vala @@ -17,9 +17,9 @@ * Ted Gould <ted@canonical.com> */ -[DBus (name = "com.ubuntu.touch.AccountsService.SecurityPrivacy")] +[DBus (name = "com.lomiri.touch.AccountsService.SecurityPrivacy")] public interface AccountsServicePrivacySettings : Object { - // properties - public abstract bool stats_welcome_screen {owned get; set;} - public abstract bool messages_welcome_screen {owned get; set;} + // properties + public abstract bool stats_welcome_screen {owned get; set;} + public abstract bool messages_welcome_screen {owned get; set;} } diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala index caffab9..0679392 100644 --- a/src/accounts-service-user.vala +++ b/src/accounts-service-user.vala @@ -23,7 +23,7 @@ public class AccountsServiceUser : Object { Act.UserManager accounts_manager = Act.UserManager.get_default(); Act.User? user = null; AccountsServiceSoundSettings? proxy = null; -#if HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS +#if HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS AccountsServicePrivacySettings? privacyproxy = null; #endif #if HAS_LOMIRI_ACCTSERVICE_SYSTEMSOUND_SETTINGS @@ -149,7 +149,7 @@ public class AccountsServiceUser : Object { DBusProxyFlags.GET_INVALIDATED_PROPERTIES, null, new_sound_proxy); -#if HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS +#if HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS Bus.get_proxy.begin<AccountsServicePrivacySettings> ( BusType.SYSTEM, "org.freedesktop.Accounts", @@ -191,7 +191,7 @@ public class AccountsServiceUser : Object { } } -#if HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS +#if HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS void new_privacy_proxy (GLib.Object? obj, AsyncResult res) { try { this.privacyproxy = Bus.get_proxy.end (res); |