NetworkManager/clients
Thomas Haller 8a14851f93 cli: refactor property to string conversion
Instead of having a get_func() and out2in_func(), have only one
get_func() that accepts an argument of the output format.

This way, a conversion to parsable input format, doesn't have to go
first thourgh get_func() and mangle the pretty string in out2in_func().

This fixes conversions via nmc_property_out2in_cut_paren().
For example, nmc_property_802_1X_get_private_key_password_flags()
would return a localized string _("0 (none)"). There is no guarantee
that out2in_func() would find the expected output format after
localizing.

This also fixes nmc_property_out2in_routes() which expected
a format "dst =" (would be "ip =") and expects mandatory
'nh' and 'mt' arguments. In fact, the regex didn't match and
nmc_property_out2in_routes() always failed.

While at it, also combine the implementation of
nmc_property_ipv4_get_routes() and nmc_property_ipv6_get_routes().
2015-06-05 12:26:48 +02:00
..
cli cli: refactor property to string conversion 2015-06-05 12:26:48 +02:00
common libnm: rename NMSecretAgent to NMSecretAgentOld 2014-11-21 12:17:41 -05:00
tui tui: fix the previous commit 2015-03-02 09:54:48 +01:00
Makefile.am libnm: port to GDBus 2014-09-18 11:51:09 -04:00
nm-online.c all: consistently include config.h 2014-11-13 17:18:42 -05:00