Auto sync2gitlab import of gnome-control-center-3.28.2-36.el8.src.rpm
This commit is contained in:
parent
dcae3fa1ed
commit
8b3f641765
@ -1,4 +1,4 @@
|
|||||||
From fe3b6451fc5f119ef676475f92157afae1fd822c Mon Sep 17 00:00:00 2001
|
From ecc4b3d0f021012a5f46bb7852bb85cc314468b9 Mon Sep 17 00:00:00 2001
|
||||||
From: Felipe Borges <felipeborges@gnome.org>
|
From: Felipe Borges <felipeborges@gnome.org>
|
||||||
Date: Wed, 3 Aug 2022 10:49:05 +0200
|
Date: Wed, 3 Aug 2022 10:49:05 +0200
|
||||||
Subject: [PATCH] network: Split airplane-mode widget off main Wi-Fi panel
|
Subject: [PATCH] network: Split airplane-mode widget off main Wi-Fi panel
|
||||||
@ -18,8 +18,44 @@ These changes reorganize the widget hierarchy as such that the
|
|||||||
airplane-mode widget is now above the main stack and will persist
|
airplane-mode widget is now above the main stack and will persist
|
||||||
visible as the main stack changes.
|
visible as the main stack changes.
|
||||||
---
|
---
|
||||||
panels/network/wifi.ui | 464 +++++++++++++++++++++--------------------
|
panels/network/cc-wifi-panel.c | 17 ++
|
||||||
1 file changed, 238 insertions(+), 226 deletions(-)
|
panels/network/wifi.ui | 464 +++++++++++++++++----------------
|
||||||
|
2 files changed, 255 insertions(+), 226 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/panels/network/cc-wifi-panel.c b/panels/network/cc-wifi-panel.c
|
||||||
|
index 2c1cd17b7..989506c6a 100644
|
||||||
|
--- a/panels/network/cc-wifi-panel.c
|
||||||
|
+++ b/panels/network/cc-wifi-panel.c
|
||||||
|
@@ -411,6 +411,17 @@ wireless_enabled_cb (NMClient *client,
|
||||||
|
check_main_stack_page (self);
|
||||||
|
}
|
||||||
|
|
||||||
|
+static void
|
||||||
|
+on_rfkill_proxy_properties_changed_cb (GDBusProxy *proxy,
|
||||||
|
+ GVariant *changed_properties,
|
||||||
|
+ GStrv invalidated_properties,
|
||||||
|
+ CcWifiPanel *self)
|
||||||
|
+{
|
||||||
|
+ g_debug ("Rfkill properties changed");
|
||||||
|
+
|
||||||
|
+ sync_airplane_mode_switch (self);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
static void
|
||||||
|
rfkill_proxy_acquired_cb (GObject *source_object,
|
||||||
|
GAsyncResult *res,
|
||||||
|
@@ -436,6 +447,12 @@ rfkill_proxy_acquired_cb (GObject *source_object,
|
||||||
|
|
||||||
|
self->rfkill_proxy = proxy;
|
||||||
|
|
||||||
|
+ g_signal_connect_object (proxy,
|
||||||
|
+ "g-properties-changed",
|
||||||
|
+ G_CALLBACK (on_rfkill_proxy_properties_changed_cb),
|
||||||
|
+ self,
|
||||||
|
+ 0);
|
||||||
|
+
|
||||||
|
sync_airplane_mode_switch (self);
|
||||||
|
}
|
||||||
|
|
||||||
diff --git a/panels/network/wifi.ui b/panels/network/wifi.ui
|
diff --git a/panels/network/wifi.ui b/panels/network/wifi.ui
|
||||||
index a3eab3889..c0f8a06b1 100644
|
index a3eab3889..c0f8a06b1 100644
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: gnome-control-center
|
Name: gnome-control-center
|
||||||
Version: 3.28.2
|
Version: 3.28.2
|
||||||
Release: 35%{?dist}
|
Release: 36%{?dist}
|
||||||
Summary: Utilities to configure the GNOME desktop
|
Summary: Utilities to configure the GNOME desktop
|
||||||
|
|
||||||
License: GPLv2+ and CC-BY-SA
|
License: GPLv2+ and CC-BY-SA
|
||||||
@ -263,6 +263,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
|
|||||||
%dir %{_datadir}/gnome/wm-properties
|
%dir %{_datadir}/gnome/wm-properties
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 15 2022 Felipe Borges <feborges@redhat.com> - 3.28.2-36
|
||||||
|
- Update airplane mode fix to synchronize with system changes
|
||||||
|
Resolves: #2079139
|
||||||
|
|
||||||
* Fri Jul 15 2022 Felipe Borges <feborges@redhat.com> - 3.28.2-35
|
* Fri Jul 15 2022 Felipe Borges <feborges@redhat.com> - 3.28.2-35
|
||||||
- Fix issue with the airplane mode toggle visibility on Wifi panel
|
- Fix issue with the airplane mode toggle visibility on Wifi panel
|
||||||
Resolves: #2079139
|
Resolves: #2079139
|
||||||
|
Loading…
Reference in New Issue
Block a user