mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-15 21:10:33 +01:00
tui: add ignore-auto-dns property to IPv4 and IPv6 pages
https://bugzilla.redhat.com/show_bug.cgi?id=1487084
This commit is contained in:
parent
1b421645e4
commit
7246c87f0f
2 changed files with 12 additions and 0 deletions
|
|
@ -182,6 +182,12 @@ nmt_page_ip4_constructed (GObject *object)
|
|||
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
|
||||
nmt_editor_grid_append (grid, NULL, widget, NULL);
|
||||
|
||||
widget = nmt_newt_checkbox_new (_("Ignore automatically obtained DNS parameters"));
|
||||
g_object_bind_property (s_ip4, NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS,
|
||||
widget, "active",
|
||||
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
|
||||
nmt_editor_grid_append (grid, NULL, widget, NULL);
|
||||
|
||||
nmt_editor_grid_append (grid, NULL, nmt_newt_separator_new (), NULL);
|
||||
|
||||
widget = nmt_newt_checkbox_new (_("Require IPv4 addressing for this connection"));
|
||||
|
|
|
|||
|
|
@ -180,6 +180,12 @@ nmt_page_ip6_constructed (GObject *object)
|
|||
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
|
||||
nmt_editor_grid_append (grid, NULL, widget, NULL);
|
||||
|
||||
widget = nmt_newt_checkbox_new (_("Ignore automatically obtained DNS parameters"));
|
||||
g_object_bind_property (s_ip6, NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS,
|
||||
widget, "active",
|
||||
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
|
||||
nmt_editor_grid_append (grid, NULL, widget, NULL);
|
||||
|
||||
nmt_editor_grid_append (grid, NULL, nmt_newt_separator_new (), NULL);
|
||||
|
||||
widget = nmt_newt_checkbox_new (_("Require IPv6 addressing for this connection"));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue