Accepting request 1031902 from home:milachew:branches:GNOME:Factory

Add gnome-shell-disable-offline-update-dialog.patch : Disable offline update suggestion before shutdown/reboot in SLE and openSUSE Leap (bsc#944832).

OBS-URL: https://build.opensuse.org/request/show/1031902
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=515
This commit is contained in:
Dominique Leuenberger 2022-10-31 08:00:33 +00:00 committed by Git OBS Bridge
parent 6be4504e90
commit ec239bd81d
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,25 @@
--- gnome-shell-41.orig/js/ui/endSessionDialog.js 2022-08-11 16:16:07.000000000 +0300
+++ gnome-shell-41/js/ui/endSessionDialog.js 2022-10-26 12:49:20.435238071 +0300
@@ -707,19 +703,7 @@
}
async _getUpdateInfo() {
- const connection = this._pkOfflineProxy.get_connection();
- const reply = await connection.call(
- this._pkOfflineProxy.g_name,
- this._pkOfflineProxy.g_object_path,
- 'org.freedesktop.DBus.Properties',
- 'GetAll',
- new GLib.Variant('(s)', [this._pkOfflineProxy.g_interface_name]),
- null,
- Gio.DBusCallFlags.NONE,
- -1,
- null);
- const [info] = reply.recursiveUnpack();
- return info;
+ return [];
}
async OpenAsync(parameters, invocation) {

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Oct 28 08:03:22 UTC 2022 - Milachew <milachew@mail.lv>
- Add gnome-shell-disable-offline-update-dialog.patch :
Disable offline update suggestion before shutdown/reboot
in SLE and openSUSE Leap (bsc#944832).
-------------------------------------------------------------------
Sun Sep 18 07:39:53 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -61,6 +61,8 @@ Patch1008: gnome-shell-disable-ibus-when-not-installed.patch
Patch1009: gnome-shell-fate324570-Make-GDM-background-image-configurable.patch
# PATCH-FIX-UPSTREAM gnome-shell-jsc#SLE-16051-Input-method-recommendation.patch jsc#SLE-16051 glgo#GNOME/gnome-shell!1563 qzhao@suse.com -- launch recommended input engines when Gnome-shell init in CJK regions.
Patch1010: gnome-shell-jsc#SLE-16051-Input-method-recommendation.patch
# PATCH-FIX-SLE gnome-shell-disable-offline-update-dialog.patch bsc#944832 milachew@mail.lv -- Disable offline update suggestion before shutdown/reboot in SLE and openSUSE Leap.
Patch1011: gnome-shell-disable-offline-update-dialog.patch
# needed for directory ownership
BuildRequires: asciidoc
@ -193,6 +195,7 @@ This package contains an optional extensions app for managing GNOME Shell extens
%patch1009 -p1
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300
%patch1010 -p1
%patch1011 -p1
%endif
%endif