mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
messageTray: Add missing property getter
gjs has gotten less forgiving about missing getters/setters, and commit6aa1b817missed 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 commit5e254666b0)
This commit is contained in:
parent
048796d145
commit
4872d5969c
1 changed files with 4 additions and 0 deletions
|
|
@ -162,6 +162,10 @@ var NotificationPolicy = GObject.registerClass({
|
|||
this.run_dispose();
|
||||
}
|
||||
|
||||
get enable() {
|
||||
return true;
|
||||
}
|
||||
|
||||
get enableSound() {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue