ee0f866e60
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
27 lines
852 B
Diff
27 lines
852 B
Diff
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
|
|
|