From 4872d5969c7fb903ffd35ee5edf599ef054d49dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 29 Apr 2020 22:43:32 +0000 Subject: [PATCH] messageTray: Add missing property getter gjs has gotten less forgiving about missing getters/setters, and commit 6aa1b817 missed the missing getter in the base policy class. Most notifications use a policy subclass that already provides a getter, but at least Main.notify() and friends don't; unbreak them by fixing the base class. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1229 (cherry picked from commit 5e254666b0ad459b480dca454788ca0d0003ba8c) --- js/ui/messageTray.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index f4ceb0ae7..970d2dd9d 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -162,6 +162,10 @@ var NotificationPolicy = GObject.registerClass({ this.run_dispose(); } + get enable() { + return true; + } + get enableSound() { return true; }