From 8a62e491a8367dbf7a5a811ead5076747553595a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 29 Sep 2024 01:07:25 +0200 Subject: [PATCH] places-menu: Add "Trash" item While much less prominent then "Recent", let's include it for consistency with nautilus. Part-of: --- extensions/places-menu/placeDisplay.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/places-menu/placeDisplay.js b/extensions/places-menu/placeDisplay.js index 4d1d919a..597ef7c5 100644 --- a/extensions/places-menu/placeDisplay.js +++ b/extensions/places-menu/placeDisplay.js @@ -315,6 +315,11 @@ export class PlacesManager extends EventEmitter { } } + this._places.special.push(new PlaceInfo( + 'special', + Gio.File.new_for_uri('trash:///'), + _('Trash'))); + this.emit('special-updated'); }