aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service-access.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-22 23:07:30 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-22 23:07:30 +0000
commit13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc (patch)
tree91d4d03a4980df9a072a371578c7c1993742e838 /src/accounts-service-access.vala
parent007ee3b3b425a31e31260c62baf789407bc8b54a (diff)
downloadayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.tar.gz
ayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.tar.bz2
ayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.zip
Fork from Ubuntu's indicator-sound.
Diffstat (limited to 'src/accounts-service-access.vala')
-rw-r--r--src/accounts-service-access.vala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/accounts-service-access.vala b/src/accounts-service-access.vala
index 2c73922..9d8b6ae 100644
--- a/src/accounts-service-access.vala
+++ b/src/accounts-service-access.vala
@@ -22,7 +22,7 @@ using PulseAudio;
using Notify;
using Gee;
-[DBus (name="com.canonical.UnityGreeter.List")]
+[DBus (name="org.ayatana.Greeter.List")]
interface GreeterListInterfaceAccess : Object
{
public abstract async string get_active_entry () throws IOError;
@@ -178,7 +178,7 @@ public class AccountsServiceAccess : Object
{
if (Environment.get_variable ("XDG_SESSION_CLASS") == "greeter") {
try {
- _greeter_proxy = yield Bus.get_proxy (BusType.SESSION, "com.canonical.UnityGreeter", "/list");
+ _greeter_proxy = yield Bus.get_proxy (BusType.SESSION, "org.ayatana.Greeter", "/list");
} catch (GLib.Error e) {
warning ("unable to get greeter proxy: %s", e.message);
return;
@@ -231,5 +231,3 @@ public class AccountsServiceAccess : Object
}
}
}
-
-