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 37f12088e4.

https://bugzilla.redhat.com/show_bug.cgi?id=1142864
This commit is contained in:
Lubomir Rintel 2014-10-10 11:10:26 +02:00
parent 0276945fd3
commit 1b40c95c84

View file

@ -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);