[gnome-shell/wip/rstrode/login-screen-extensions: 32/134] screenShield: Stop using deprecated actor property




commit 2cd69837cf12381c9cd4d1fffe5fd35b868fe8bf
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Sep 20 13:14:40 2019 +0200

    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

 js/ui/screenShield.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index 2d0a429bee..f97a9288a3 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -917,8 +917,8 @@ var ScreenShield = class {
         this._lockScreenGroup.hide();
 
         if (this._dialog) {
-            this._dialog.actor.grab_key_focus();
-            this._dialog.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
+            this._dialog.grab_key_focus();
+            this._dialog.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
         }
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]