aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-list-greeter.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/media-player-list-greeter.vala')
-rw-r--r--src/media-player-list-greeter.vala12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/media-player-list-greeter.vala b/src/media-player-list-greeter.vala
index 3059946..6cd5c3f 100644
--- a/src/media-player-list-greeter.vala
+++ b/src/media-player-list-greeter.vala
@@ -17,21 +17,21 @@
* Ted Gould <ted@canonical.com>
*/
-[DBus (name="com.canonical.UnityGreeter.List")]
-public interface UnityGreeterList : Object {
+[DBus (name="org.ayatana.Greeter.List")]
+public interface AyatanaGreeterList : Object {
public abstract async string get_active_entry () throws IOError;
public signal void entry_selected (string entry_name);
}
public class MediaPlayerListGreeter : MediaPlayerList {
string? selected_user = null;
- UnityGreeterList? proxy = null;
+ AyatanaGreeterList? proxy = null;
HashTable<string, MediaPlayerUser> players = new HashTable<string, MediaPlayerUser>(str_hash, str_equal);
public MediaPlayerListGreeter () {
- Bus.get_proxy.begin<UnityGreeterList> (
+ Bus.get_proxy.begin<AyatanaGreeterList> (
BusType.SESSION,
- "com.canonical.UnityGreeter",
+ "org.ayatana.Greeter",
"/list",
DBusProxyFlags.NONE,
null,
@@ -45,7 +45,7 @@ public class MediaPlayerListGreeter : MediaPlayerList {
this.proxy.entry_selected.connect(active_user_changed);
this.proxy.get_active_entry.begin ((obj, res) => {
try {
- var value = (obj as UnityGreeterList).get_active_entry.end(res);
+ var value = (obj as AyatanaGreeterList).get_active_entry.end(res);
active_user_changed(value);
} catch (Error e) {
warning("Unable to get active entry: %s", e.message);