libnm: port NMRemoteSettings to NMObject
authorDan Winship <danw@gnome.org>
Sun, 20 Jul 2014 16:55:59 +0000 (12:55 -0400)
committerDan Winship <danw@gnome.org>
Thu, 7 Aug 2014 19:43:43 +0000 (15:43 -0400)
commit57e802f3aa2aac8daba9a7a442a2393ab5888dba
treef8199f16bff6cc61987f9e4a80df5b26f2d8118a
parentd7e99f837537abc45b193d6748888f264e02d0b6
libnm: port NMRemoteSettings to NMObject

NMRemoteSettings duplicates a bunch of NMObject's functionality that
it doesn't need to. In libnm-glib, it wouldn't have been possible to
port NMRemoteSettings to NMObject without breaking ABI, but now in
libnm we can do that.

As a side effect of this, NMRemoteSettings gains a "connections"
property, and "connection-added" and "connection-removed" signals
(with the former replacing the old "new-connection" signal). This also
removes the "connections-loaded" signal, since the connections will
now always be loaded (via the initialization of the "connections"
property) during init()/init_async().

Also, this removes NMRemoteConnection's "removed" signal, since it's
redundant with the new NMRemoteSettings::connection-removed (and
having the signal on NMRemoteSettings instead is more consistent with
other objects).
clients/cli/connections.c
clients/tui/nmt-edit-connection-list.c
clients/tui/nmtui-edit.c
clients/tui/nmtui.c
examples/C/glib/list-connections-libnm.c
libnm/nm-remote-connection.c
libnm/nm-remote-connection.h
libnm/nm-remote-settings.c
libnm/nm-remote-settings.h
libnm/tests/test-remote-settings-client.c