summaryrefslogtreecommitdiff
path: root/clients/tui
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-10-10 11:10:26 +0200
committerLubomir Rintel <lkundrak@v3.sk>2014-11-04 10:11:06 +0100
commit1b40c95c846cbb85547c826d329415b4ece0bce1 (patch)
tree4c93949e1523bf29091cc3c6b77b9b40f4f55222 /clients/tui
parent0276945fd34bec3f0f39cd3acec8dcc24c6438a9 (diff)
downloadNetworkManager-1b40c95c846cbb85547c826d329415b4ece0bce1.tar.gz
Revert "tui: additional fix for 'primary' option"
It makes no sense -- the primary option is specific to active-backup bonds; not mandatory. It blocks validation and prvents using other options. This reverts commit 37f12088e45a663271e2ee6759a2b924c9745cd1. https://bugzilla.redhat.com/show_bug.cgi?id=1142864
Diffstat (limited to 'clients/tui')
-rw-r--r--clients/tui/nmt-page-bond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tui/nmt-page-bond.c b/clients/tui/nmt-page-bond.c
index 4dddb3bd63..d39ccd1d89 100644
--- a/clients/tui/nmt-page-bond.c
+++ b/clients/tui/nmt-page-bond.c
@@ -369,7 +369,7 @@ nmt_page_bond_constructed (GObject *object)
nmt_page_grid_append (grid, _("Mode"), widget, NULL);
priv->mode = NMT_NEWT_POPUP (widget);
- widget = nmt_newt_entry_new (40, NMT_NEWT_ENTRY_NONEMPTY);
+ widget = nmt_newt_entry_new (40, 0);
g_signal_connect (widget, "notify::text",
G_CALLBACK (primary_widget_changed), bond);
nmt_page_grid_append (grid, _("Primary"), widget, NULL);