gnome-control-center: update to 3.38.5
This commit is contained in:
parent
622c59af21
commit
eda0ab82e5
2 changed files with 2 additions and 40 deletions
|
@ -1,38 +0,0 @@
|
||||||
From 4159f984bd351caf6f0e1adbd90feeb85ab252f4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Daniel Kolesa <daniel@octaforge.org>
|
|
||||||
Date: Wed, 16 Sep 2020 22:02:04 +0200
|
|
||||||
Subject: [PATCH] restore compatibility with networkmanager 1.22
|
|
||||||
|
|
||||||
drop this patch and rebuild gnome-control-center when updating nm
|
|
||||||
---
|
|
||||||
panels/network/net-device-wifi.c | 7 -------
|
|
||||||
1 file changed, 7 deletions(-)
|
|
||||||
|
|
||||||
diff --git panels/network/net-device-wifi.c panels/network/net-device-wifi.c
|
|
||||||
index cb86e5b..d63c57c 100644
|
|
||||||
--- panels/network/net-device-wifi.c
|
|
||||||
+++ panels/network/net-device-wifi.c
|
|
||||||
@@ -1180,11 +1180,6 @@ nm_client_on_permission_change (NetDeviceWifi *self) {
|
|
||||||
NMClientPermissionResult perm;
|
|
||||||
NMDeviceWifiCapabilities caps;
|
|
||||||
|
|
||||||
- if (nm_client_get_permissions_state (self->client) != NM_TERNARY_TRUE) {
|
|
||||||
- /* permissions aren't ready yet */
|
|
||||||
- return;
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
/* only enable the button if the user can create a hotspot */
|
|
||||||
perm = nm_client_get_permission_result (self->client, NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN);
|
|
||||||
caps = nm_device_wifi_get_capabilities (NM_DEVICE_WIFI (self->device));
|
|
||||||
@@ -1227,8 +1222,6 @@ net_device_wifi_new (CcPanel *panel, NMClient *client, NMDevice *device)
|
|
||||||
G_CALLBACK (ap_activated), self, G_CONNECT_SWAPPED);
|
|
||||||
g_signal_connect_object (list, "configure",
|
|
||||||
G_CALLBACK (show_details_for_row), self, G_CONNECT_SWAPPED);
|
|
||||||
- g_signal_connect_object (client, "notify",
|
|
||||||
- G_CALLBACK(nm_client_on_permission_change), self, G_CONNECT_SWAPPED);
|
|
||||||
|
|
||||||
nm_client_on_permission_change(self);
|
|
||||||
|
|
||||||
--
|
|
||||||
2.28.0
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'gnome-control-center'
|
# Template file for 'gnome-control-center'
|
||||||
pkgname=gnome-control-center
|
pkgname=gnome-control-center
|
||||||
version=3.38.4
|
version=3.38.5
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
|
@ -24,7 +24,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://gitlab.gnome.org/GNOME/gnome-control-center"
|
homepage="https://gitlab.gnome.org/GNOME/gnome-control-center"
|
||||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=49dc6378d4d35c1c6ed59224f5636916c2b6fa49bbfb8b56eb19a84d6e90cd19
|
checksum=0ada859620110e829174121c7e1a3f82da80d749d6f61d426a7c8cf4464d72f9
|
||||||
|
|
||||||
build_options="cheese"
|
build_options="cheese"
|
||||||
build_options_default="cheese"
|
build_options_default="cheese"
|
||||||
|
|
Loading…
Reference in a new issue