NetworkManager/clients/tui
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
..
newt all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
Makefile.am build: disable deprecation checks for internal compilation 2016-04-05 22:22:58 +02:00
nm-editor-bindings.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-editor-bindings.h tui: fix gateway editing 2014-11-12 16:04:59 -05:00
nm-editor-utils.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-editor-utils.h libnm: merge NMRemoteSettings into NMClient 2014-10-10 12:40:19 -04:00
nmt-address-list.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-address-list.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-connect-connection-list.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-connect-connection-list.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-device-entry.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-device-entry.h tui: rename two classes 2014-11-21 08:58:31 -05:00
nmt-edit-connection-list.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-edit-connection-list.h libnm: change GSList to GPtrArray in libnm methods 2014-10-28 17:17:17 -04:00
nmt-editor-grid.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-editor-grid.h tui: rename two classes 2014-11-21 08:58:31 -05:00
nmt-editor-page-device.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-editor-page-device.h tui: rename two classes 2014-11-21 08:58:31 -05:00
nmt-editor-page.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-editor-page.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-editor-section.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-editor-section.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-editor.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-editor.h libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
nmt-ip-entry.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-ip-entry.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-mac-entry.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-mac-entry.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nmt-mtu-entry.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-mtu-entry.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-page-bond.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-bond.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-bridge-port.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-bridge-port.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-bridge.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-bridge.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-dsl.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-dsl.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nmt-page-ethernet.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-ethernet.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-infiniband.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-infiniband.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-ip4.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-ip4.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-ip6.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-ip6.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-ppp.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-ppp.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-team-port.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-team-port.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-team.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-team.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nmt-page-vlan.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-vlan.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-wifi.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-wifi.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-password-dialog.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-password-dialog.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-password-fields.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-password-fields.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-route-editor.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-route-editor.h libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
nmt-route-entry.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-route-entry.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-route-table.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-route-table.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-slave-list.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-slave-list.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-utils.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-utils.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nmt-widget-list.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-widget-list.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmtui-connect.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmtui-connect.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmtui-edit.c tui: avoid failed assertion when adding bond slaves 2016-08-01 17:24:29 +02:00
nmtui-edit.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmtui-hostname.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmtui-hostname.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmtui.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmtui.h libnm: merge NMRemoteSettings into NMClient 2014-10-10 12:40:19 -04:00