PlacesSidebar.setShowConnectToServer

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.

More...
class PlacesSidebar
void
setShowConnectToServer

Parameters

showConnectToServer bool

whether to show an item for the Connect to Server command

Detailed Description

Deprecated: It is recommended to group this functionality with the drives and network location under the new 'Other Location' item

Meta

Since

3.10