[gnome-shell/eos3.8: 198/255] fixup! status/payg: add menu action to apply a code before PayGo time is expired



commit e9d48d2d8de0112360f1457863572241b3ce8bd5
Author: Andre Moreira Magalhaes <andre endlessm com>
Date:   Fri Apr 3 20:58:04 2020 -0300

    fixup! status/payg: add menu action to apply a code before PayGo time is expired
    
    Fix the following warning:
      JS ERROR: Error: Source.notify() has been moved to Source.showNotification()this code will break in the 
future
      notify@resource:///org/gnome/shell/ui/messageTray.js:868:23
      notify@resource:///org/gnome/shell/ui/payg.js:723:16
    
    https://phabricator.endlessm.com/T29698

 js/ui/payg.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/payg.js b/js/ui/payg.js
index 8279fe3fdd..9b8f00346c 100644
--- a/js/ui/payg.js
+++ b/js/ui/payg.js
@@ -720,7 +720,7 @@ class PaygNotifier extends GObject.Object {
 
         this._notification.setTransient(false);
         this._notification.setUrgency(urgency);
-        source.notify(this._notification);
+        source.showNotification(this._notification);
 
         // if the user triggered this notification, immediately expand so the
         // user sees the input field


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