gnome-shell-extension-backg.../0001-Adjust-to-gnome-shell-changes.patch
2020-02-20 14:58:10 +01:00

30 lines
954 B
Diff

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