Hello community,
here is the log from the commit of package gnome-settings-daemon for
openSUSE:Factory checked in at 2017-02-02 15:28:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-settings-daemon (Old)
and /work/SRC/openSUSE:Factory/.gnome-settings-daemon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-settings-daemon"
Changes:
--------
---
/work/SRC/openSUSE:Factory/gnome-settings-daemon/gnome-settings-daemon.changes
2017-01-19 10:36:53.375991287 +0100
+++
/work/SRC/openSUSE:Factory/.gnome-settings-daemon.new/gnome-settings-daemon.changes
2017-02-03 17:41:08.231520611 +0100
@@ -1,0 +2,7 @@
+Wed Jan 25 21:01:14 UTC 2017 - [email protected]
+
+- Add gnome-settings-daemon-fix-keyboard-slider.patch: Make
+ keyboard backlight slider work like intended, patch from
+ bugzilla (bgo#725655).
+
+-------------------------------------------------------------------
New:
----
gnome-settings-daemon-fix-keyboard-slider.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-settings-daemon.spec ++++++
--- /var/tmp/diff_new_pack.4jn2fi/_old 2017-02-03 17:41:08.799440226 +0100
+++ /var/tmp/diff_new_pack.4jn2fi/_new 2017-02-03 17:41:08.803439660 +0100
@@ -53,6 +53,8 @@
Patch32: gnome-settings-daemon-more-power-button-actions.patch
# PATCH-FIX-UPSTREAM gnome-settings-daemon-shutdown-dialog-delay.patch
bgo#774452 [email protected] -- Shutdown dialog delay 1 to 2 seconds.
Patch33: gnome-settings-daemon-shutdown-dialog-delay.patch
+# PATCH-FIX-UPSTREAM gnome-settings-daemon-fix-keyboard-slider.patch
bgo#725655 [email protected] -- Make keyboard backlight slider work
+Patch34: gnome-settings-daemon-fix-keyboard-slider.patch
BuildRequires: cups-devel
BuildRequires: fdupes
BuildRequires: gtk-doc
@@ -167,6 +169,7 @@
%endif
%patch32 -p1
%patch33 -p1
+%patch34 -p1
%build
%if 0%{?suse_version} == 1315
++++++ gnome-settings-daemon-fix-keyboard-slider.patch ++++++
>From 5aaf80d68716fbbd0bc122ef52defab579b84d80 Mon Sep 17 00:00:00 2001
From: Adam Goode <[email protected]>
Date: Fri, 20 Jan 2017 10:09:33 -0500
Subject: [PATCH] power: emit correct value for set keyboard backlight
In the UI, the keyboard backlight is expressed on a percent
scale. This is translated to the hardware's scale and sent
to the hardware. The just-set value is then emitted so that
any UI can show the correct value. Unfortunately the value
is sent in the hardware scale, not the expected percent scale,
causing incorrect display of the current value.
This emits the value in the correct scale.
https://bugzilla.gnome.org/show_bug.cgi?id=725655
---
AUTHORS | 1 +
plugins/power/gsd-power-manager.c | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/power/gsd-power-manager.c
b/plugins/power/gsd-power-manager.c
index 5db92f4..14c6542 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2941,9 +2941,8 @@ handle_set_property_other (GsdPowerManager *manager,
}
} else if (g_strcmp0 (interface_name,
GSD_POWER_DBUS_INTERFACE_KEYBOARD) == 0) {
g_variant_get (value, "i", &brightness_value);
- brightness_value = PERCENTAGE_TO_ABS (0,
manager->priv->kbd_brightness_max,
- brightness_value);
- if (upower_kbd_set_brightness (manager, brightness_value,
error)) {
+ if (upower_kbd_set_brightness (manager, PERCENTAGE_TO_ABS(0,
manager->priv->kbd_brightness_max,
+
brightness_value), error)) {
backlight_iface_emit_changed (manager,
GSD_POWER_DBUS_INTERFACE_KEYBOARD, brightness_value);
return TRUE;
} else {
--
2.9.3