screenShield: Activate dialog when necessary
Activating a dialog is slightly different from opening it; the former is about showing the user authentication widgetry, while the latter is about creating it and pre-allocating the necessary resources. Activate the screen shield dialog when necessary. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
This commit is contained in:

committed by
Florian Müllner

parent
e42700a308
commit
7851069d9c
@ -527,6 +527,10 @@ var UnlockDialog = GObject.registerClass({
|
||||
return true;
|
||||
}
|
||||
|
||||
activate() {
|
||||
this._showPrompt();
|
||||
}
|
||||
|
||||
popModal(timestamp) {
|
||||
if (this._isModal) {
|
||||
Main.popModal(this, timestamp);
|
||||
|
Reference in New Issue
Block a user