From 8fe5bdf77c3b3c8dddf7ca8d328a3fe89b83a1e3131e88dcd49eb6a4d665ba00 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 27 Feb 2019 18:09:32 +0000 Subject: [PATCH] Accepting request 679733 from home:JonathanKang:branches:GNOME:Factory - Add control-center-network-fix-ce-apply-button.patch: network: disable the "Apply" button until a change has been made (glgo#GNOME/gnome-control-center!402 bsc#1040054). OBS-URL: https://build.opensuse.org/request/show/679733 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=405 --- ...l-center-network-fix-ce-apply-button.patch | 25 +++++++++++++++++++ gnome-control-center.changes | 7 ++++++ gnome-control-center.spec | 5 +++- 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 control-center-network-fix-ce-apply-button.patch diff --git a/control-center-network-fix-ce-apply-button.patch b/control-center-network-fix-ce-apply-button.patch new file mode 100644 index 0000000..f2a736c --- /dev/null +++ b/control-center-network-fix-ce-apply-button.patch @@ -0,0 +1,25 @@ +From 21606b186dfdbc4c8c7fa47909606d05f405a592 Mon Sep 17 00:00:00 2001 +From: Jonathan Kang +Date: Wed, 20 Feb 2019 15:45:02 +0800 +Subject: [PATCH] network: disable the "Apply" button until a change has been + made + +--- + panels/network/wireless-security/eap-method-simple.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/panels/network/wireless-security/eap-method-simple.c b/panels/network/wireless-security/eap-method-simple.c +index 2287b99cd..271ce007c 100644 +--- a/panels/network/wireless-security/eap-method-simple.c ++++ b/panels/network/wireless-security/eap-method-simple.c +@@ -242,7 +242,6 @@ set_userpass_ui (EAPMethodSimple *method) + gtk_entry_set_text (method->password_entry, ""); + + gtk_toggle_button_set_active (method->show_password, method->ws_parent->show_password); +- password_storage_changed (NULL, NULL, method); + } + + static void +-- +2.20.1 + diff --git a/gnome-control-center.changes b/gnome-control-center.changes index 8e8e8b1..fe05e1a 100644 --- a/gnome-control-center.changes +++ b/gnome-control-center.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 27 02:50:29 UTC 2019 - sckang@suse.com + +- Add control-center-network-fix-ce-apply-button.patch: + network: disable the "Apply" button until a change has been made + (glgo#GNOME/gnome-control-center!402 bsc#1040054). + ------------------------------------------------------------------- Fri Feb 8 07:57:07 UTC 2019 - bjorn.lie@gmail.com diff --git a/gnome-control-center.spec b/gnome-control-center.spec index 39d8a59..b8bf765 100644 --- a/gnome-control-center.spec +++ b/gnome-control-center.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -38,6 +38,8 @@ Source: http://download.gnome.org/sources/gnome-control-center/3.30/%{na Patch0: gnome-control-center-disable-error-message-for-NM.patch # PATCH-FIX-UPSTREAM control-center-network-add-domain-suffix-match.patch bgo#787882 bsc#1047509 sckang@suse.com -- wifi: Add domain-suffix-match entry Patch1: control-center-network-add-domain-suffix-match.patch +# PATCH-FIX-UPSTREAM control-center-network-fix-ce-apply-button.patch glgo#GNOME/gnome-control-center!402 bsc#1040054 sckang@suse.com -- network: disable the "Apply" button until a change has been made +Patch2: control-center-network-fix-ce-apply-button.patch ### patches for Leap >= 15 plus SLE >= 15, but not TW # PATCH-FEATURE-SLE gnome-control-center-info-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer. @@ -188,6 +190,7 @@ GNOME control center. %setup -q #patch0 -p1 %patch1 -p1 +%patch2 -p1 translation-update-upstream po gnome-control-center-2.0 # patches for Leap >= 15 plus SLE >= 15, but not TW