import gnome-control-center-3.28.2-5.el8

This commit is contained in:
CentOS Sources 2019-11-05 14:37:07 -05:00 committed by Andrew Lukoshko
parent 539b2e9f1f
commit 72e084edcf
2 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,41 @@
From 07410fb2f8ecf1dd8bb82bf29a7e81304f62aa81 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlosg@gnome.org>
Date: Mon, 30 Jul 2018 21:10:31 +0200
Subject: [PATCH] wacom: Update to newer "output" setting
The semantics are pretty much the same for opaque tablets, not
much else to do here.
---
panels/wacom/cc-wacom-device.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/panels/wacom/cc-wacom-device.c b/panels/wacom/cc-wacom-device.c
index 488637dec..e0915d5b5 100644
--- a/panels/wacom/cc-wacom-device.c
+++ b/panels/wacom/cc-wacom-device.c
@@ -309,11 +309,11 @@ find_output (GnomeRRScreen *rr_screen,
gsize n;
settings = cc_wacom_device_get_settings (device);
- variant = g_settings_get_value (settings, "display");
+ variant = g_settings_get_value (settings, "output");
edid = g_variant_get_strv (variant, &n);
if (n != 3) {
- g_critical ("Expected 'display' key to store %d values; got %"G_GSIZE_FORMAT".", 3, n);
+ g_critical ("Expected 'output' key to store %d values; got %"G_GSIZE_FORMAT".", 3, n);
goto out;
}
@@ -378,7 +378,7 @@ cc_wacom_device_set_output (CcWacomDevice *device,
values[2] = serial;
}
- g_settings_set_strv (settings, "display", values);
+ g_settings_set_strv (settings, "output", values);
g_free (vendor);
g_free (product);
--
2.21.0

View File

@ -10,7 +10,7 @@
Name: gnome-control-center Name: gnome-control-center
Version: 3.28.2 Version: 3.28.2
Release: 4%{?dist} Release: 5%{?dist}
Summary: Utilities to configure the GNOME desktop Summary: Utilities to configure the GNOME desktop
License: GPLv2+ and CC-BY-SA License: GPLv2+ and CC-BY-SA
@ -30,6 +30,7 @@ Patch4: 0004-thunderbolt-move-to-the-Devices-page.patch
Patch5: 0001-sharing-Enable-settings-widget-for-gnome-remote-desk.patch Patch5: 0001-sharing-Enable-settings-widget-for-gnome-remote-desk.patch
Patch6: 0001-wacom-Update-Test-your-settings-button-sensitivity-o.patch Patch6: 0001-wacom-Update-Test-your-settings-button-sensitivity-o.patch
Patch7: 0001-wacom-Update-to-newer-output-setting.patch
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: cups-devel BuildRequires: cups-devel
@ -201,6 +202,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
%dir %{_datadir}/gnome/wm-properties %dir %{_datadir}/gnome/wm-properties
%changelog %changelog
* Tue Jul 23 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-5
- Update wacom panel to newer "output" setting
- Resolves: #1718133
* Mon Feb 11 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-4 * Mon Feb 11 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-4
- Update "Test your settings" wacom button sensitivity on device availability - Update "Test your settings" wacom button sensitivity on device availability
- Resolves: #1656995 - Resolves: #1656995