mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
notification: Stop using old setter methods of MessageTray.Notification
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173>
This commit is contained in:
parent
9ac4c7da53
commit
1d1d9806f3
8 changed files with 40 additions and 28 deletions
|
|
@ -42,9 +42,9 @@ class ShellInfo {
|
|||
this._notification = new MessageTray.Notification({
|
||||
source,
|
||||
title: text,
|
||||
isTransient: true,
|
||||
forFeedback,
|
||||
});
|
||||
this._notification.setTransient(true);
|
||||
this._notification.setForFeedback(forFeedback);
|
||||
this._notification.connect('destroy', () => delete this._notification);
|
||||
} else {
|
||||
this._notification.update(text, null, {clear: true});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue