places-menu: Drop network item

Nautilus replaced its support for the `network:///` scheme with
an internal network view. The former now shows as empty folder,
so drop it from the list of places.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/340>
This commit is contained in:
Florian Müllner
2024-09-29 00:31:47 +02:00
committed by Marge Bot
parent 1506a730c5
commit 60f30c5bbe

View File

@@ -365,11 +365,6 @@ export class PlacesManager extends EventEmitter {
/* Add standard places */
this._places.devices.push(new RootInfo());
this._places.network.push(new PlaceInfo(
'network',
Gio.File.new_for_uri('network:///'),
_('Browse Network'),
'network-workgroup-symbolic'));
/* first go through all connected drives */
let drives = this._volumeMonitor.get_connected_drives();