mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue