shellMountOperation: Use wiggle effect to inform about wrong password
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942
This commit is contained in:
parent
7a1f4f9af3
commit
ddeb2fa05d
@ -13,6 +13,7 @@ const Params = imports.misc.params;
|
||||
const ShellEntry = imports.ui.shellEntry;
|
||||
|
||||
const { loadInterfaceXML } = imports.misc.fileUtils;
|
||||
const Util = imports.misc.util;
|
||||
|
||||
var LIST_ITEM_ICON_SIZE = 48;
|
||||
var WORK_SPINNER_ICON_SIZE = 16;
|
||||
@ -400,6 +401,8 @@ var ShellMountPasswordDialog = GObject.registerClass({
|
||||
this._passwordEntry.set_text('');
|
||||
this._errorMessageLabel.text = _('Sorry, that didn’t work. Please try again.');
|
||||
this._errorMessageLabel.opacity = 255;
|
||||
|
||||
Util.wiggle(this._passwordEntry);
|
||||
}
|
||||
|
||||
_onCancelButton() {
|
||||
|
Loading…
Reference in New Issue
Block a user