NetworkManager/clients
Beniamino Galvani a370faeb59 cli: wait for changed signal after updating a connection
In editor_menu_main(), after saving a connection we wait that the
Update2() D-Bus call returns and then we copy the NMRemoteConnection
instance over to @connection.

This assumes that when Update2() returns the remote connection
instance is already updated with new settings. Indeed, on server side
the NMSettingsConnection first emits the "Updated" signal and then
returns to Update2(). However, the Updated signal doesn't include the
new setting values and so libnm has to fire an asynchronous
nmdbus_settings_connection_call_get_setting() to fetch the new
settings, which terminates after the Update2().

So, to be sure that the remote connection got updated we have also to
listen to the connection-changed signal, which is always emitted after
an update.

https://bugzilla.redhat.com/show_bug.cgi?id=1546805
2018-11-20 15:16:53 +01:00
..
cli cli: wait for changed signal after updating a connection 2018-11-20 15:16:53 +01:00
common dhcp: add "ipv4.dhcp-client-id=duid" setting 2018-11-13 19:09:34 +01:00
tests cli/tests: fix output on failure 2018-11-02 14:56:40 +01:00
tui docs: misc. typos 2018-09-15 09:08:03 +02:00
meson.build build: create "config-extra.h" header instead of passing directory variables via CFLAGS 2018-07-17 17:46:39 +02:00
nm-online.c nm-online: sort options in man page and program help 2018-11-05 09:32:20 +01:00