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:
committed by
Marge Bot
parent
1506a730c5
commit
60f30c5bbe
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user