gnome-shell/js/gdm
Alessandro Bono 32248e8226 authPrompt: Don't propagate serviceName to setMessage
There isn't always a serviceName when we set a message. Furthermore we
are passing the serviceName only to decide if we want to wiggle or not.
Pass the wiggle parameters instead. If they are missing, we don't want
to wiggle.

This fixes the following error:
JS ERROR: Exception in callback for signal: login-format-changed: Error: Wrong type number; string expected
setMessage@resource:///org/gnome/shell/gdm/authPrompt.js:542:13
_showRealmLoginHint@resource:///org/gnome/shell/gdm/loginDialog.js:931:26
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:114:47
_updateLoginFormat@resource:///org/gnome/shell/gdm/realmd.js:85:18
_reloadRealm@resource:///org/gnome/shell/gdm/realmd.js:57:14
_onRealmLoaded@resource:///org/gnome/shell/gdm/realmd.js:64:14
_makeProxyWrapper/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:245:34

Fallout from 526f0711f1.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5547
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2404>
2022-08-06 23:30:55 +00:00
..
authList.js gdm: Add AuthList control 2022-01-13 15:03:02 -05:00
authPrompt.js authPrompt: Don't propagate serviceName to setMessage 2022-08-06 23:30:55 +00:00
batch.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
credentialManager.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
loginDialog.js loginManager: Make API promise-based 2022-08-01 18:51:14 +00:00
oVirt.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
realmd.js js: Use async D-Bus wrappers 2022-08-01 18:51:14 +00:00
util.js js: Use async D-Bus wrappers 2022-08-01 18:51:14 +00:00
vmware.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00