diff options
author | Robert Tari <robert@tari.in> | 2023-10-09 00:12:42 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-10-09 00:12:42 +0200 |
commit | 04b6109edd0df24e81a93001d5d002c051b3365f (patch) | |
tree | 1f466b3601823372a84b929062253358a14aedc8 | |
parent | a395c5e66804c0b620ee730d2d4cb917196c80b2 (diff) | |
download | arctica-greeter-04b6109edd0df24e81a93001d5d002c051b3365f.tar.gz arctica-greeter-04b6109edd0df24e81a93001d5d002c051b3365f.tar.bz2 arctica-greeter-04b6109edd0df24e81a93001d5d002c051b3365f.zip |
src/arctica-greeter.vala: Change D-Bus name and path
-rw-r--r-- | src/arctica-greeter.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index b0161c9..4a574d3 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -56,7 +56,7 @@ public class ArcticaGreeter : Object construct { - Bus.own_name (BusType.SESSION, "org.ArcticaProject.ArcticaGreeter", BusNameOwnerFlags.NONE, onBusAcquired); + Bus.own_name (BusType.SESSION, "org.ayatana.greeter", BusNameOwnerFlags.NONE, onBusAcquired); greeter = new LightDM.Greeter (); greeter.show_message.connect ((text, type) => { show_message (text, type); }); @@ -138,7 +138,7 @@ public class ArcticaGreeter : Object try { this.pServer = new DBusServer (pConnection, this); - pConnection.register_object ("/org/ArcticaProject/ArcticaGreeter", this.pServer); + pConnection.register_object ("/org/ayatana/greeter", this.pServer); } catch (IOError pError) { @@ -1346,7 +1346,7 @@ private interface SettingsDaemonDBusInterface : Object public signal void plugin_deactivated (string name); } -[DBus (name = "org.ArcticaProject.ArcticaGreeter")] +[DBus (name = "org.ayatana.greeter")] public class DBusServer : Object { private DBusConnection pConnection; @@ -1394,7 +1394,7 @@ public class DBusServer : Object try { - this.pConnection.emit_signal (null, "/org/ArcticaProject/ArcticaGreeter", "org.ArcticaProject.ArcticaGreeter", "UserChanged", pUser); + this.pConnection.emit_signal (null, "/org/ayatana/greeter", "org.ayatana.greeter", "UserChanged", pUser); } catch (Error pError) { |