mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 05:20:32 +01:00
tui: fix inverted option "Require IPvX addressing for this connection"
https://bugzilla.redhat.com/show_bug.cgi?id=1108839
Signed-off-by: Thomas Haller <thaller@redhat.com>
(cherry picked from commit 41a20a75a1)
This commit is contained in:
parent
9c4b6d5a67
commit
620c4956ec
2 changed files with 4 additions and 2 deletions
|
|
@ -187,7 +187,8 @@ nmt_page_ip4_constructed (GObject *object)
|
|||
widget = nmt_newt_checkbox_new (_("Require IPv4 addressing for this connection"));
|
||||
g_object_bind_property (s_ip4, NM_SETTING_IP4_CONFIG_MAY_FAIL,
|
||||
widget, "active",
|
||||
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
|
||||
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL |
|
||||
G_BINDING_INVERT_BOOLEAN);
|
||||
nmt_page_grid_append (grid, NULL, widget, NULL);
|
||||
|
||||
G_OBJECT_CLASS (nmt_page_ip4_parent_class)->constructed (object);
|
||||
|
|
|
|||
|
|
@ -185,7 +185,8 @@ nmt_page_ip6_constructed (GObject *object)
|
|||
widget = nmt_newt_checkbox_new (_("Require IPv6 addressing for this connection"));
|
||||
g_object_bind_property (s_ip6, NM_SETTING_IP6_CONFIG_MAY_FAIL,
|
||||
widget, "active",
|
||||
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
|
||||
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL |
|
||||
G_BINDING_INVERT_BOOLEAN);
|
||||
nmt_page_grid_append (grid, NULL, widget, NULL);
|
||||
|
||||
G_OBJECT_CLASS (nmt_page_ip6_parent_class)->constructed (object);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue