Accepting request 389867 from home:Zaitor:branches:GNOME:Factory

Version bump - I hope we will get away with a very small rebase in GN doing it this way.

OBS-URL: https://build.opensuse.org/request/show/389867
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=311
This commit is contained in:
Bjørn Lie 2016-04-15 09:38:59 +00:00 committed by Git OBS Bridge
parent 8135964903
commit 6ca2679a31
5 changed files with 23 additions and 63 deletions

View File

@ -1,53 +0,0 @@
From 28c54f3d551af09c414fbf2e2e13a9f7b61781f9 Mon Sep 17 00:00:00 2001
From: Jonathan Kang <jonathan121537@gmail.com>
Date: Tue, 5 Apr 2016 14:15:20 +0800
Subject: [PATCH] network: Fix empty Wifi list
Add a callback function for signals "access-point-added" and
"access-point-removed" to update the Wifi list.
https://bugzilla.gnome.org/show_bug.cgi?id=709641
---
panels/network/net-device-wifi.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index e7d0c93..ca55d94 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -240,6 +240,18 @@ get_ap_security_string (NMAccessPoint *ap)
}
static void
+net_device_wifi_access_point_changed (NMDeviceWifi *nm_device_wifi,
+ NMAccessPoint *ap,
+ gpointer user_data)
+{
+ NetDeviceWifi *device_wifi;
+
+ device_wifi = NET_DEVICE_WIFI (user_data);
+
+ populate_ap_list (device_wifi);
+}
+
+static void
wireless_enabled_toggled (NMClient *client,
GParamSpec *pspec,
NetDeviceWifi *device_wifi)
@@ -1317,6 +1329,13 @@ net_device_wifi_constructed (GObject *object)
nm_device = net_device_get_nm_device (NET_DEVICE (device_wifi));
+ g_signal_connect_object (nm_device, "access-point-added",
+ G_CALLBACK (net_device_wifi_access_point_changed),
+ device_wifi, 0);
+ g_signal_connect_object (nm_device, "access-point-removed",
+ G_CALLBACK (net_device_wifi_access_point_changed),
+ device_wifi, 0);
+
/* only enable the button if the user can create a hotspot */
widget = GTK_WIDGET (gtk_builder_get_object (device_wifi->priv->builder,
"start_hotspot_button"));
--
2.6.2

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7e7307612e244a8ba15a3bb5dc0d12a043b93381a3939515e585558b064d683
size 7131980

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce6474fc60f78ed3cfaf555e55a52ec3ebb6437fa184e08ad6077bbec380a1ed
size 7160304

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Apr 14 10:30:34 UTC 2016 - zaitor@opensuse.org
- Update to version 3.20.1:
+ Translate the "When the Power Button is pressed" drop-down.
+ Fix a number of build warnings.
+ Fix crash opening Wacom panel under Wayland.
+ Fix Wi-Fi list being empty when enabled within the Network
panel.
+ Throw an error when using the Synaptics touchpad driver.
+ Add support for older versions of CUPS.
+ Hide firewall zone combo when firewalld isn't running.
+ Fix the visual bell test not working in some cases.
+ Updated translations.
- Drop 0001-network-Fix-empty-Wifi-list.patch: Fixed upstream.
-------------------------------------------------------------------
Wed Mar 30 10:26:26 UTC 2016 - sckang@suse.com
@ -13,8 +29,8 @@ Mon Mar 21 14:45:14 UTC 2016 - dimstar@opensuse.org
-------------------------------------------------------------------
Sun Mar 20 15:31:11 UTC 2016 - fezhang@suse.com
- Add gnome-control-center-890979-change-remote-passwd.patch: Enable
remote user to change password in user panel (bsc#890979).
- Add gnome-control-center-890979-change-remote-passwd.patch:
Enable remote user to change password in user panel (bsc#890979).
-------------------------------------------------------------------
Thu Mar 17 14:37:24 UTC 2016 - dimstar@opensuse.org

View File

@ -29,7 +29,7 @@
%define with_cacert_patch 1
Name: gnome-control-center
Version: 3.20.0
Version: 3.20.1
Release: 0
Summary: The GNOME Control Center
License: GPL-2.0+
@ -52,8 +52,6 @@ Patch16: gnome-control-center-probe-radius-server-cert.patch
Patch17: gnome-control-center-follow-polkit-permissions-for-tz.patch
# PATCH-FIX-SLE gnome-control-center-890979-change-remote-passwd.patch bnc#890979 dliang@suse.com -- user: Enable remote user to change password in user panel
Patch18: gnome-control-center-890979-change-remote-passwd.patch
# PATCH-FIX-UPSTREAM 0001-network-Fix-empty-Wifi-list.patch bsc#870322 bgo#709641 sckang@suse.com -- Fix Wifi list not showing APs corretcly
Patch19: 0001-network-Fix-empty-Wifi-list.patch
BuildRequires: cups-devel
BuildRequires: desktop-file-utils
BuildRequires: fdupes
@ -84,7 +82,7 @@ BuildRequires: pkgconfig(goa-backend-1.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(grilo-0.3)
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.15.4
BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.12
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20.3
BuildRequires: pkgconfig(gudev-1.0)
%if %{with_ibus}
BuildRequires: pkgconfig(ibus-1.0) >= 1.5.2
@ -201,7 +199,6 @@ translation-update-upstream
%if ! 0%{?is_opensuse}
%patch18 -p1
%endif
%patch19 -p1
#NEEDS-REBASE
#patch14 -p1