[gnome-shell/eos3.8: 204/255] fixup! payg: Add success screen



commit 150a61fffec0a28bf48d7a6c9de1a1da2f65c9bc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Apr 7 17:27:13 2020 -0300

    fixup! payg: Add success screen

 js/ui/paygUnlockDialog.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/paygUnlockDialog.js b/js/ui/paygUnlockDialog.js
index 1eecf86ac1..999cd9a3cf 100644
--- a/js/ui/paygUnlockDialog.js
+++ b/js/ui/paygUnlockDialog.js
@@ -213,13 +213,13 @@ var PaygUnlockDialog = GObject.registerClass({
         });
 
         this.connect('code-added', () => {
-            this.actor.remove_child(mainBox);
+            this.remove_child(mainBox);
             this._successScreen();
         });
 
         this.connect('code-reset', () => {
             this._paygUnlockDialog = mainBox;
-            this.actor.remove_child(mainBox);
+            this.remove_child(mainBox);
             this._resetScreen();
         });
 
@@ -429,17 +429,17 @@ var PaygUnlockDialog = GObject.registerClass({
             });
         this._messageButton.connect('button-press-event', () => {
             this._restorePaygUnlockCodeEntry();
-            this.actor.remove_child(messageBox);
+            this.remove_child(messageBox);
         });
         this._messageButton.connect('key-press-event', () => {
             this._restorePaygUnlockCodeEntry();
-            this.actor.remove_child(messageBox);
+            this.remove_child(messageBox);
         });
     }
 
     _restorePaygUnlockCodeEntry() {
         GLib.source_remove(this._timeoutId);
-        this.actor.add_child(this._paygUnlockDialog);
+        this.add_child(this._paygUnlockDialog);
         this.updateSensitivity();
         this._entry.grab_key_focus();
     }


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