NetworkManager/clients
Beniamino Galvani fa9300b76b tui: avoid failed assertion when adding bond slaves
When trying to add new slaves to a bond connection, for the first
slave nmt_add_connection_show() is called with !priv->single_type to
display a slave-type selection form. For the second slave the type is
predefined and thus nmt_add_connection_show() doesn't show the dialog;
instead it calls create_connection() directly, which invokes
nmt_newt_form_quit() on the not-shown dialog causing:

nmtui-CRITICAL **: nmt_newt_form_quit: assertion 'priv->form != NULL' failed

Don't call nmt_newt_form_quit() if the form was not shown.

https://bugzilla.gnome.org/show_bug.cgi?id=768981
(cherry picked from commit 2eafd0ea52)
2016-08-01 17:24:29 +02:00
..
cli cli: fix parsing of route metric on 32-bit archs 2016-06-30 13:22:32 +02:00
common clients: fix build error for missing nm_vpn_plugin_info_get_service() after bad backport 2016-05-19 13:23:40 +02:00
tui tui: avoid failed assertion when adding bond slaves 2016-08-01 17:24:29 +02:00
Makefile.am build: disable deprecation checks for internal compilation 2016-04-05 22:22:58 +02:00
nm-online.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00