aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-06-16 21:34:29 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-06-16 21:34:32 +0200
commit26966da0eef6bed888da642cd6290abd8cfdad1f (patch)
tree8104dfd349070423fbc56649b45f4d880e3bb65a
parent51e62b158d52e0a256432adbc843f21565f9a21f (diff)
downloadremote-logon-service-26966da0eef6bed888da642cd6290abd8cfdad1f.tar.gz
remote-logon-service-26966da0eef6bed888da642cd6290abd8cfdad1f.tar.bz2
remote-logon-service-26966da0eef6bed888da642cd6290abd8cfdad1f.zip
src/uccs-server.c: Inject another artificial nm_state_changed() callback after UCCS config file has been fully parsed-in.
Fixes ArcticaProject/arctica-greeter#10. Another fix is needed in Arctica Greeter, though. With this fix, the UCCS query happens immediately, if network connectivity is already available. However, the Remote Logon box still does not get shown, but with this commit, the issue now becomes an Arctica Greeter UI issue.
-rw-r--r--src/uccs-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uccs-server.c b/src/uccs-server.c
index 3337aa7..fda6494 100644
--- a/src/uccs-server.c
+++ b/src/uccs-server.c
@@ -457,6 +457,7 @@ uccs_server_new_from_keyfile (GKeyFile * keyfile, const gchar * groupname)
server->verify_server = g_key_file_get_boolean(keyfile, groupname, CONFIG_UCCS_VERIFY, NULL);
}
+ nm_state_changed(server->nm_client, NULL, server);
uccs_notify_state_change(server);
return SERVER(server);