[gnome-shell/T29763: 197/249] fixup! payg: factor out reminder notifications



commit d30cb337ae5e5f145712df28751fa161f8079fec
Author: Andre Moreira Magalhaes <andre endlessm com>
Date:   Fri Apr 3 20:56:10 2020 -0300

    fixup! payg: factor out reminder notifications
    
    Fix the following warning:
      Usage of object.actor is deprecated for AnimatedIcon
    
    https://phabricator.endlessm.com/T29698

 js/ui/payg.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/payg.js b/js/ui/payg.js
index e3f2dd18d6..8279fe3fdd 100644
--- a/js/ui/payg.js
+++ b/js/ui/payg.js
@@ -391,7 +391,7 @@ var PaygUnlockWidget = GObject.registerClass({
             entrySpinnerBox.add_child(prefix);
         }
         entrySpinnerBox.add_child(this._codeEntry);
-        entrySpinnerBox.add_child(this._spinner.actor);
+        entrySpinnerBox.add_child(this._spinner);
 
         if (Main.paygManager.codeFormatSuffix !== '') {
             let suffix = new St.Label({
@@ -435,8 +435,8 @@ var PaygUnlockWidget = GObject.registerClass({
         // We make the most of the spacer to show the spinner while verifying the code.
         let spinnerIcon = Gio.File.new_for_uri('resource:///org/gnome/shell/theme/process-working.svg');
         let spinner = new Animation.AnimatedIcon(spinnerIcon, SPINNER_ICON_SIZE_PIXELS);
-        spinner.actor.opacity = 0;
-        spinner.actor.hide();
+        spinner.opacity = 0;
+        spinner.hide();
 
         return spinner;
     }


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