screenShield: Stop using deprecated actor property

Both LoginDialog and UnlockDialog are now actor subclasses, so stop
using the deprecated actor delegate that will trigger a warning.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/736
This commit is contained in:
Florian Müllner 2019-09-20 13:14:40 +02:00 committed by Georges Basile Stavracas Neto
parent 856c32db91
commit 92e5713e29

View File

@ -916,8 +916,8 @@ var ScreenShield = class {
this._lockScreenGroup.hide(); this._lockScreenGroup.hide();
if (this._dialog) { if (this._dialog) {
this._dialog.actor.grab_key_focus(); this._dialog.grab_key_focus();
this._dialog.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false); this._dialog.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
} }
} }