Update to 40.4

Resolves: #1995094
This commit is contained in:
Florian Müllner 2021-08-18 15:18:48 +02:00
parent 9f96d76bc1
commit 1744c100d8
4 changed files with 9 additions and 41 deletions

1
.gitignore vendored
View File

@ -194,3 +194,4 @@ gnome-shell-2.31.5.tar.bz2
/gnome-shell-40.1.tar.xz
/gnome-shell-40.2.tar.xz
/gnome-shell-40.3.tar.xz
/gnome-shell-40.4.tar.xz

View File

@ -1,37 +0,0 @@
From 40ea93396d99726bf8fbb31ef4bf83585592e80b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Fri, 6 Aug 2021 18:15:40 +0200
Subject: [PATCH] appDisplay: Avoid a warning
At least the last stable release of gjs has an issue with async
handlers for custom (i.e. defined in JS) GObject signals.
The handler still works, but evoking it prints the following warning:
JS ERROR: Error: Could not guess unspecified GValue type
We can avoid the warning by using the addAction() convenience
method, which makes for a small nice cleanup anyway.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4531
---
js/ui/appDisplay.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index f86a7bb67..012e88bd0 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -3531,8 +3531,7 @@ var AppIconMenu = class AppIconMenu extends PopupMenu.PopupMenu {
if (Shell.AppSystem.get_default().lookup_app('org.gnome.Software.desktop')) {
this._appendSeparator();
- let item = this._appendMenuItem(_("Show Details"));
- item.connect('activate', async () => {
+ this.addAction(_('Show Details'), async () => {
let id = this._source.app.get_id();
let args = GLib.Variant.new('(ss)', [id, '']);
const bus = await Gio.DBus.get(Gio.BusType.SESSION, null);
--
2.31.1

View File

@ -1,8 +1,8 @@
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: gnome-shell
Version: 40.3
Release: 4%{?dist}
Version: 40.4
Release: 1%{?dist}
Summary: Window management and application launching for GNOME
License: GPLv2+
@ -31,8 +31,7 @@ Patch34: 0001-extensionDownloader-Refuse-to-override-system-extens.patch
Patch35: fix-some-js-warnings.patch
Patch36: 0001-st-texture-cache-purge-on-resume.patch
Patch37: 0001-Update-generated-stylesheets.patch
Patch38: 0001-appDisplay-Avoid-a-warning.patch
Patch39: add-power-profiles-menu.patch
Patch38: add-power-profiles-menu.patch
%define eds_version 3.33.1
%define gnome_desktop_version 3.35.91
@ -251,6 +250,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de
%{_mandir}/man1/gnome-shell.1*
%changelog
* Wed Aug 18 2021 Florian Müllner <fmuellner@redhat.com> - 40.4-1
- Update to 40.4
Resolves: #1995094
* Wed Aug 18 2021 Florian Müllner <fmuellner@redhat.com> - 40.3-4
- Add power profiles menu
Resolves: #1994471

View File

@ -1 +1,2 @@
SHA512 (gnome-shell-40.3.tar.xz) = 05d47e1b0f8ec27f0ae7564476012f21dcb2ec8e6da61a589b7fe17df1a23035cb6e261805250a410737502b9bdbb25f56432a618de88881d7e15b6432e52770
SHA512 (gnome-shell-40.4.tar.xz) = 305d12cc7273f23e4a0c294f532cbf951816fd2de81959bef769048f4d5717e9e1886b64fe17b2f5ef6ee216ea67a6b913293a8903ec5dc5214bd29fbb1d3b32