Fix modification of the networks
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1932674 Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
8cd1e6a058
commit
0b0489c899
@ -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
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
Name: gnome-control-center
|
||||
Version: 40~beta
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Utilities to configure the GNOME desktop
|
||||
|
||||
License: GPLv2+ and CC-BY-SA
|
||||
@ -24,6 +24,9 @@ Source0: https://download.gnome.org/sources/gnome-control-center/40/gnome
|
||||
Patch0: distro-logo.patch
|
||||
|
||||
Patch1: fix-language-chooser.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1932674
|
||||
# https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/963
|
||||
Patch2: 0001-network-connection-editor-Fixup-creation-of-the-netm.patch
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: cups-devel
|
||||
@ -198,6 +201,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
|
||||
%dir %{_datadir}/gnome/wm-properties
|
||||
|
||||
%changelog
|
||||
* Sun Mar 07 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 40~beta-4
|
||||
- Fix modifications of the networks (Fixes: RHBZ#1932674)
|
||||
|
||||
* Wed Feb 24 2021 Felipe Borges <feborges@redhat.com> - 40~beta-3
|
||||
- Include missing patch from 40~beta-2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user