File gnome-shell-disable-offline-update-dialog.patch of Package gnome-shell
Index: gnome-shell-48.rc/js/ui/endSessionDialog.js
===================================================================
--- gnome-shell-48.rc.orig/js/ui/endSessionDialog.js
+++ gnome-shell-48.rc/js/ui/endSessionDialog.js
@@ -694,19 +694,7 @@ class EndSessionDialog extends ModalDial
}
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) {