From 70cc30cb734b5b5cd7161f334646e01f7b29539d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Fri, 6 Sep 2013 14:12:26 +0200 Subject: [PATCH] cli: add missing connection:type to nmc_add_prop_funcs() in editor --- cli/src/settings.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cli/src/settings.c b/cli/src/settings.c index 5e0a6a30c8..fb2369dde3 100644 --- a/cli/src/settings.c +++ b/cli/src/settings.c @@ -3831,6 +3831,12 @@ nmc_properties_init (void) NULL, NULL, NULL); + nmc_add_prop_funcs (GLUE (CONNECTION, TYPE), + nmc_property_connection_get_type, + NULL, /* read-only */ + NULL, + NULL, + NULL); nmc_add_prop_funcs (GLUE (CONNECTION, AUTOCONNECT), nmc_property_connection_get_autoconnect, nmc_property_set_bool, @@ -3845,7 +3851,7 @@ nmc_properties_init (void) NULL); nmc_add_prop_funcs (GLUE (CONNECTION, READ_ONLY), nmc_property_connection_get_read_only, - NULL, /* 'read-only' is read-inly :-) */ + NULL, /* 'read-only' is read-only :-) */ NULL, NULL, NULL);