PlacesSidebar.setShowConnectToServer

void setShowConnectToServer(bool showConnectToServer)

Sets whether the sidebar should show an item for connecting to a network server; this is off by default. An application may want to turn this on if it implements a way for the user to connect to network servers directly.

If you enable this, you should connect to the #GtkPlacesSidebar::show-connect-to-server signal.

Parameters

showConnectToServerwhether to show an item for the Connect to Server command

Deprecated

It is recommended to group this functionality with the drives

and network location under the new 'Other Location' item