[gnome-shell/T29763: 196/249] fixup! js/ui/payg.js: PayGo UI utilities



commit 969bb35eb42db2ff548dba5bb016a13012320da2
Author: Andre Moreira Magalhaes <andre endlessm com>
Date:   Fri Apr 3 20:54:29 2020 -0300

    fixup! js/ui/payg.js: PayGo UI utilities
    
    Fix the following warning:
      Usage of object.actor is deprecated for AnimatedIcon
    
    https://phabricator.endlessm.com/T29698

 js/ui/payg.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/payg.js b/js/ui/payg.js
index 902293d6e9..e3f2dd18d6 100644
--- a/js/ui/payg.js
+++ b/js/ui/payg.js
@@ -304,8 +304,8 @@ var PaygUnlockUi = GObject.registerClass({
 
     startSpinning() {
         this.spinner.play();
-        this.spinner.actor.show();
-        this.spinner.actor.ease({
+        this.spinner.show();
+        this.spinner.ease({
             opacity: 255,
             delay: SPINNER_ANIMATION_DELAY_MSECS,
             duration: SPINNER_ANIMATION_TIME_MSECS,
@@ -314,8 +314,8 @@ var PaygUnlockUi = GObject.registerClass({
     }
 
     stopSpinning() {
-        this.spinner.actor.hide();
-        this.spinner.actor.opacity = 0;
+        this.spinner.hide();
+        this.spinner.opacity = 0;
         this.spinner.stop();
     }
 


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