From cb1b54b9542d88d183318678529ac05ec215c728 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Wed, 14 Feb 2024 11:37:22 +0100 Subject: [PATCH] notification: Remove old setter methods of MessageTray.Notification We now have nice GObject properties for the properties that can be set with in different ways, since we already changing the API so much let's drop the old setter methods. Part-of: --- js/ui/messageTray.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 09ad0ad7e..7e265af02 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -494,26 +494,6 @@ export class Notification extends GObject.Object { this._actions = []; } - setUrgency(urgency) { - this.urgency = urgency; - } - - setResident(resident) { - this.resident = resident; - } - - setTransient(isTransient) { - this.isTransient = isTransient; - } - - setForFeedback(forFeedback) { - this.forFeedback = forFeedback; - } - - setPrivacyScope(privacyScope) { - this.privacyScope = privacyScope; - } - playSound() { if (this._soundPlayed) return;