diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-02-26 11:34:08 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-02-26 11:34:08 +0100 |
commit | 1190fb925dbb283356961336a43e58a51b4d171a (patch) | |
tree | feb9eec877e96333e95f3a9c415e2bafc069894b | |
parent | 27a7262cd25e6536fe1f9921be51afef84c7f424 (diff) | |
download | arctica-greeter-1190fb925dbb283356961336a43e58a51b4d171a.tar.gz arctica-greeter-1190fb925dbb283356961336a43e58a51b4d171a.tar.bz2 arctica-greeter-1190fb925dbb283356961336a43e58a51b4d171a.zip |
Rename RemoteLoginService interface to RemoteLogonService.
-rw-r--r-- | src/remote-logon-service.vala | 2 | ||||
-rw-r--r-- | src/user-list.vala | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/remote-logon-service.vala b/src/remote-logon-service.vala index 5872cb6..8238190 100644 --- a/src/remote-logon-service.vala +++ b/src/remote-logon-service.vala @@ -41,7 +41,7 @@ protected struct RemoteServer } [DBus (name = "org.ArcticaProject.RemoteLogon")] -interface RemoteLoginService : Object +interface RemoteLogonService : Object { public abstract async void get_servers (out RemoteServer[] serverList) throws IOError; public abstract async void get_servers_for_login (string url, string emailAddress, string password, bool allowCache, out bool loginSuccess, out string dataType, out RemoteServer[] serverList) throws IOError; diff --git a/src/user-list.vala b/src/user-list.vala index e07d999..ad68a17 100644 --- a/src/user-list.vala +++ b/src/user-list.vala @@ -53,7 +53,7 @@ public class UserList : GreeterList private uint change_background_timeout = 0; private uint remote_logon_service_watch; - private RemoteLoginService remote_logon_service; + private RemoteLogonService remote_logon_service; private List<RemoteServer?> remote_directory_server_list = new List<RemoteServer?> (); private List<RemoteServer?> remote_login_server_list = new List<RemoteServer?> (); private HashTable<string, Gtk.Widget> current_remote_fields; @@ -358,7 +358,7 @@ public class UserList : GreeterList private void on_remote_logon_service_appeared (DBusConnection conn, string name) { - Bus.get_proxy.begin<RemoteLoginService> (BusType.SESSION, + Bus.get_proxy.begin<RemoteLogonService> (BusType.SESSION, "org.ArcticaProject.RemoteLogon", "/org/ArcticaProject/RemoteLogon", 0, @@ -366,7 +366,7 @@ public class UserList : GreeterList (obj, res) => { try { - remote_logon_service = Bus.get_proxy.end<RemoteLoginService> (res); + remote_logon_service = Bus.get_proxy.end<RemoteLogonService> (res); remote_logon_service.servers_updated.connect (set_remote_directory_servers); remote_logon_service.login_servers_updated.connect (remote_login_servers_updated); remote_logon_service.login_changed.connect (remote_login_changed); |