Method

GtkPlacesSidebarset_show_connect_to_server

deprecated: 3.18 since: 3.10

Declaration [src]

void
gtk_places_sidebar_set_show_connect_to_server (
  GtkPlacesSidebar* sidebar,
  gboolean show_connect_to_server
)

Description [src]

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.

Available since: 3.10

Deprecated since: 3.18

It is recommended to group this functionality with the drives and network location under the new ‘Other Location’ item.

Parameters

show_connect_to_server

Type: gboolean

Whether to show an item for the Connect to Server command.