From 26966da0eef6bed888da642cd6290abd8cfdad1f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 16 Jun 2018 21:34:29 +0200 Subject: 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. --- src/uccs-server.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3