network/connection-editor: Fixup creation of the netmask widget
Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1274 Signed-off-by: Igor Raits <igor.raits@gmail.com>
This commit is contained in:
parent
181c6bf23b
commit
f966c99409
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ add_route_row (CEPageIP4 *self,
|
|||
gtk_widget_set_hexpand (widget, TRUE);
|
||||
gtk_container_add (GTK_CONTAINER (row_box), widget);
|
||||
|
||||
widget = gtk_entry_new ();
|
||||
widget = GTK_WIDGET (ce_netmask_entry_new ());
|
||||
g_signal_connect_object (widget, "changed", G_CALLBACK (ce_page_changed), self, G_CONNECT_SWAPPED);
|
||||
g_signal_connect_object (widget, "activate", G_CALLBACK (ensure_empty_routes_row), self, G_CONNECT_SWAPPED);
|
||||
g_object_set_data (G_OBJECT (row), "netmask", widget);
|
||||
|
|
Loading…
Add table
Reference in a new issue