Adjust to gnome-shell changes
This commit is contained in:
parent
d01eba0822
commit
ae7d6b989b
29
0001-Adjust-to-gnome-shell-changes.patch
Normal file
29
0001-Adjust-to-gnome-shell-changes.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 8696912871d9db88c8d81c8c7dde72f5926b70c1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Tue, 26 Nov 2019 01:22:20 +0100
|
||||||
|
Subject: [PATCH] Adjust to gnome-shell changes
|
||||||
|
|
||||||
|
gnome-shell got mostly rid of the delegate pattern this cycle,
|
||||||
|
adjust to that.
|
||||||
|
|
||||||
|
https://pagure.io/background-logo-extension/issue/22
|
||||||
|
---
|
||||||
|
extension.js | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/extension.js b/extension.js
|
||||||
|
index 4a6cc69..f651432 100644
|
||||||
|
--- a/extension.js
|
||||||
|
+++ b/extension.js
|
||||||
|
@@ -207,7 +207,7 @@ var BackgroundLogo = GObject.registerClass({
|
||||||
|
}
|
||||||
|
|
||||||
|
_updateVisibility() {
|
||||||
|
- let background = this._bgManager.backgroundActor.background._delegate;
|
||||||
|
+ let { background } = this._bgManager.backgroundActor;
|
||||||
|
let defaultUri = background._settings.get_default_value('picture-uri');
|
||||||
|
let file = Gio.File.new_for_commandline_arg(defaultUri.deep_unpack());
|
||||||
|
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
@ -0,0 +1,30 @@
|
|||||||
|
From dfd48c8eec2cc29c92c5548cf1aed6764ddce98f Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Tue, 26 Nov 2019 01:25:41 +0100
|
||||||
|
Subject: [PATCH] Make sure :vignette-sharpness compatibility property is
|
||||||
|
initialized
|
||||||
|
|
||||||
|
Otherwise the overview's attempt to animate the property will result
|
||||||
|
in warnings.
|
||||||
|
|
||||||
|
https://pagure.io/background-logo-extension/pull-request/21
|
||||||
|
---
|
||||||
|
extension.js | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/extension.js b/extension.js
|
||||||
|
index 540e182..4a6cc69 100644
|
||||||
|
--- a/extension.js
|
||||||
|
+++ b/extension.js
|
||||||
|
@@ -55,7 +55,7 @@ var BackgroundLogo = GObject.registerClass({
|
||||||
|
0, 1, 1),
|
||||||
|
'vignette-sharpness': GObject.ParamSpec.double(
|
||||||
|
'vignette-sharpness', 'vignette-sharpness', 'vignette-sharpness',
|
||||||
|
- GObject.ParamFlags.READWRITE,
|
||||||
|
+ GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT,
|
||||||
|
0, 1, 0),
|
||||||
|
},
|
||||||
|
}, class BackgroundLogo extends St.Widget {
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: gnome-shell-extension-background-logo
|
Name: gnome-shell-extension-background-logo
|
||||||
Version: 3.34.0
|
Version: 3.34.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Background logo extension for GNOME Shell
|
Summary: Background logo extension for GNOME Shell
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -10,6 +10,9 @@ URL: https://pagure.io/background-logo-extension
|
|||||||
Source0: https://releases.pagure.org/background-logo-extension/background-logo-extension-%{version}.tar.xz
|
Source0: https://releases.pagure.org/background-logo-extension/background-logo-extension-%{version}.tar.xz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Patch0: 0001-Make-sure-vignette-sharpness-compatibility-property-.patch
|
||||||
|
Patch1: 0001-Adjust-to-gnome-shell-changes.patch
|
||||||
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
|
|
||||||
@ -34,6 +37,9 @@ Show your pride! Display the Fedora logo (or any other graphic) in the corner of
|
|||||||
%{_datadir}/gnome-shell/extensions/background-logo@fedorahosted.org/
|
%{_datadir}/gnome-shell/extensions/background-logo@fedorahosted.org/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 20 2020 Florian Müllner <fmuellner@redhat.com> - 3.34.0-3
|
||||||
|
- Adjust to gnome-shell changes + shut up some warnings
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-2
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user