places-menu: Add "Trash" item
While much less prominent then "Recent", let's include it for consistency with nautilus. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/340>
This commit is contained in:
committed by
Marge Bot
parent
8da874355c
commit
8a62e491a8
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user