NetworkManager/clients/cli
Lubomir Rintel 84bb438d87 cli/devices: remove redundant Device/AC state evaluation
The state handling in add_and_activate_cb() and connect_device_cb() is
redundant to connected_state_cb() and in fact executed only if the
activation is really really really quick (which it never is).

Also, the return_text those implementations provide is different from
what connected_state_cb(), potentially confusing the users and adding
extra work for translators.

Not to mention extra lines of code, reading whose wastes our precious
time on the planet we could spend doing heroin instead.
2019-01-04 18:32:23 +01:00
..
agent.c cli: don't use global nm_cli in nmc_readline_*() 2018-10-10 09:55:45 +02:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: drop gettext() wrappers for no_l10n to-string functions 2018-12-11 09:23:47 +01:00
common.h cli: drop gettext() wrappers for no_l10n to-string functions 2018-12-11 09:23:47 +01:00
connections.c cli/connections: improve sort by active connections 2018-11-21 11:46:22 +01:00
connections.h cli/connections: export nmc_active_connection_cmp() 2018-11-21 11:46:21 +01:00
devices.c cli/devices: remove redundant Device/AC state evaluation 2019-01-04 18:32:23 +01:00
devices.h cli: rework printing of "wired" and "wifi" device details 2018-07-09 15:43:55 +02:00
general.c cli: drop gettext() wrappers for no_l10n to-string functions 2018-12-11 09:23:47 +01:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
meson.build build: meson: Add trailing commas 2018-12-20 13:50:34 +01:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: display double-dash long options in help 2018-11-05 09:32:20 +01:00
nmcli.h cli: don't use global variable nm_cli in nmc_terminal_spawn_pager() 2018-10-10 09:55:45 +02:00
polkit-agent.c cli: don't use global nm_cli in nmc_readline_*() 2018-10-10 09:55:45 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings.c cli: don't access global nm_cli variable from nmc_setting_set_property() 2018-10-10 09:55:45 +02:00
settings.h cli: don't access global nm_cli variable from nmc_setting_set_property() 2018-10-10 09:55:45 +02:00
utils.c cli: fix memory leaks 2018-11-02 14:56:40 +01:00
utils.h cli: don't use global variable nm_cli in nmc_terminal_spawn_pager() 2018-10-10 09:55:45 +02:00