diff --git a/gnome-shell-gdm-login-applet.patch b/gnome-shell-gdm-login-applet.patch
index ec73864..6ec6d56 100644
--- a/gnome-shell-gdm-login-applet.patch
+++ b/gnome-shell-gdm-login-applet.patch
@@ -1,8 +1,8 @@
-Index: gnome-shell-45.0/js/js-resources.gresource.xml
+Index: gnome-shell-45.3/js/js-resources.gresource.xml
===================================================================
---- gnome-shell-45.0.orig/js/js-resources.gresource.xml
-+++ gnome-shell-45.0/js/js-resources.gresource.xml
-@@ -41,6 +41,7 @@
+--- gnome-shell-45.3.orig/js/js-resources.gresource.xml
++++ gnome-shell-45.3/js/js-resources.gresource.xml
+@@ -42,6 +42,7 @@
misc/util.js
misc/weather.js
@@ -10,10 +10,10 @@ Index: gnome-shell-45.0/js/js-resources.gresource.xml
ui/accessDialog.js
ui/altTab.js
ui/animation.js
-Index: gnome-shell-45.0/js/ui/panel.js
+Index: gnome-shell-45.3/js/ui/panel.js
===================================================================
---- gnome-shell-45.0.orig/js/ui/panel.js
-+++ gnome-shell-45.0/js/ui/panel.js
+--- gnome-shell-45.3.orig/js/ui/panel.js
++++ gnome-shell-45.3/js/ui/panel.js
@@ -36,6 +36,7 @@ import * as ThunderboltStatus from './st
import * as AutoRotateStatus from './status/autoRotate.js';
import * as BackgroundAppsStatus from './status/backgroundApps.js';
@@ -30,10 +30,10 @@ Index: gnome-shell-45.0/js/ui/panel.js
'activities': ActivitiesButton,
'appMenu': AppMenuButton,
'quickSettings': QuickSettings,
-Index: gnome-shell-45.0/js/ui/sessionMode.js
+Index: gnome-shell-45.3/js/ui/sessionMode.js
===================================================================
---- gnome-shell-45.0.orig/js/ui/sessionMode.js
-+++ gnome-shell-45.0/js/ui/sessionMode.js
+--- gnome-shell-45.3.orig/js/ui/sessionMode.js
++++ gnome-shell-45.3/js/ui/sessionMode.js
@@ -60,7 +60,7 @@ const _modes = {
? ['networkAgent', 'polkitAgent']
: ['polkitAgent'],
@@ -43,11 +43,11 @@ Index: gnome-shell-45.0/js/ui/sessionMode.js
center: ['dateMenu'],
right: ['dwellClick', 'a11y', 'keyboard', 'quickSettings'],
},
-Index: gnome-shell-45.0/js/ui/aboutMenu.js
+Index: gnome-shell-45.3/js/ui/aboutMenu.js
===================================================================
--- /dev/null
-+++ gnome-shell-45.0/js/ui/aboutMenu.js
-@@ -0,0 +1,145 @@
++++ gnome-shell-45.3/js/ui/aboutMenu.js
+@@ -0,0 +1,144 @@
+// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
+
+import GLib from 'gi://GLib';
@@ -74,7 +74,7 @@ Index: gnome-shell-45.0/js/ui/aboutMenu.js
+ this.hostname_label = new St.Label({y_align: Clutter.ActorAlign.CENTER});
+ this.about_hbox.add_child(this.hostname_label);
+
-+ this.actor.add_child(this.about_hbox);
++ this.add_child(this.about_hbox);
+ hbox = new St.BoxLayout({ name: 'aboutArea' });
+ this.menu.box.add_child(hbox);
+
@@ -87,11 +87,10 @@ Index: gnome-shell-45.0/js/ui/aboutMenu.js
+ // let's use a "safer" option.
+ let sysinfo_text = 'SUSE Linux';
+ try {
-+ let success, contents, tag;
+ let _os_release = Gio.File.new_for_path('/etc/os-release');
-+ [success, contents, tag] = _os_release.load_contents(null);
++ let [success_, contents] = _os_release.load_contents(null);
+
-+ let osReleaseContentStr = contents.toString();
++ let osReleaseContentStr = new TextDecoder().decode(contents);
+ let prettyNameReg = /^PRETTY_NAME="(.+)"/;
+ let match = null;
+ for (let line of osReleaseContentStr.split('\n')) {
@@ -108,7 +107,7 @@ Index: gnome-shell-45.0/js/ui/aboutMenu.js
+
+ this._sysinfo = new St.Label({ text: sysinfo_text, can_focus: true });
+ vbox.add(this._sysinfo);
-+ this.actor.hide();
++ this.hide();
+
+ this._updateHostnameId = GLib.timeout_add(GLib.PRIORITY_DEFAULT,
+ this._ticket,
@@ -130,7 +129,7 @@ Index: gnome-shell-45.0/js/ui/aboutMenu.js
+ this._ticket = 1;
+ this._hostname = hostname_text;
+ this.hostname_label.set_text(this._hostname);
-+ this.actor.show();
++ this.show();
+ }
+ this._updateHostnameId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT,
+ this._ticket,
diff --git a/gnome-shell.changes b/gnome-shell.changes
index c40cc59..5837756 100644
--- a/gnome-shell.changes
+++ b/gnome-shell.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Thu Mar 7 07:47:00 UTC 2024 - Xiaoguang Wang
+
+- Update gnome-shell-gdm-login-applet.patch: Clean up JS errors
+ (bsc#1221100).
+
-------------------------------------------------------------------
Tue Feb 20 10:03:05 UTC 2024 - Alynx Zhou