| |
@@ -0,0 +1,28 @@
|
| |
+ From 5902d04ac2f2bfec361ed8d0feb053f96734a076 Mon Sep 17 00:00:00 2001
|
| |
+ From: Igor Raits <igor.raits@gmail.com>
|
| |
+ Date: Sat, 6 Mar 2021 22:07:29 +0100
|
| |
+ Subject: [PATCH] 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>
|
| |
+ ---
|
| |
+ panels/network/connection-editor/ce-page-ip4.c | 2 +-
|
| |
+ 1 file changed, 1 insertion(+), 1 deletion(-)
|
| |
+
|
| |
+ diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c
|
| |
+ index c1500f99f..6de6ce607 100644
|
| |
+ --- a/panels/network/connection-editor/ce-page-ip4.c
|
| |
+ +++ b/panels/network/connection-editor/ce-page-ip4.c
|
| |
+ @@ -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);
|
| |
+ --
|
| |
+ 2.30.1
|
| |
+
|
| |
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1932674
Signed-off-by: Igor Raits ignatenkobrain@fedoraproject.org