1
0

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

Got bored of waiting for a upstream stable release, so adding the most important (imho) missing patch.

OBS-URL: https://build.opensuse.org/request/show/286029
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=269
This commit is contained in:
Bjørn Lie 2015-02-16 14:33:44 +00:00 committed by Git OBS Bridge
parent 34fc8744da
commit ee0f866e60
3 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From aa594a7f145a88b737b781375c0f5bf681a43c74 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 28 Jan 2015 16:20:23 +0100
Subject: power: Fix initial state of Bluetooth switch
The initial state of the switch was never set, so if it happened to be
on, the switch didn't match reality.
https://bugzilla.gnome.org/show_bug.cgi?id=725654
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 9b0449e..5df8049 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -1663,6 +1663,8 @@ add_power_saving_section (CcPowerPanel *self)
G_CALLBACK (bt_powered_state_changed), self);
g_signal_connect (G_OBJECT (priv->bt_switch), "notify::active",
G_CALLBACK (bt_switch_changed), self);
+
+ bt_powered_state_changed (self);
}
#endif
--
cgit v0.10.1

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Feb 13 21:53:31 UTC 2015 - zaitor@opensuse.org
- Add
gnome-control-center-power-fix-initial-state-of-Bluetooth.patch:
The initial state of the switch was never set, so if it happened
to be on, the switch didn't match reality (bgo#725654).
-------------------------------------------------------------------
Tue Jan 27 16:24:06 UTC 2015 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gnome-control-center
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -49,6 +49,8 @@ Patch16: gnome-control-center-probe-radius-server-cert.patch
Patch17: gnome-control-center-follow-polkit-permissions-for-tz.patch
# PATCH-FIX-UPSTREAM gnome-control-center-NM-1.0.patch dimstar@opensuse.org -- Allow to operate with NetworkManager 1.0
Patch18: gnome-control-center-NM-1.0.patch
# PATCH-FIX-UPSTREAM gnome-control-center-power-fix-initial-state-of-Bluetooth.patch bgo#725654 zaitor@opensuse.org. -- Fix initial state of Bluetooth switch, taken from upstream git.
Patch19: gnome-control-center-power-fix-initial-state-of-Bluetooth.patch
BuildRequires: cups-devel
BuildRequires: desktop-file-utils
BuildRequires: fdupes
@ -187,6 +189,7 @@ translation-update-upstream
#NEEDS-REBASE
#patch14 -p1
%patch18 -p1
%patch19 -p1
%build
ACLOCAL_FLAGS="-I libgd" NOCONFIGURE=1 gnome-autogen.sh