Method

GtkPlacesSidebarset_show_other_locations

since: 3.18

Declaration [src]

void
gtk_places_sidebar_set_show_other_locations (
  GtkPlacesSidebar* sidebar,
  gboolean show_other_locations
)

Description [src]

Sets whether the sidebar should show an item for the application to show an Other Locations view; this is off by default. When set to TRUE, persistent devices such as hard drives are hidden, otherwise they are shown in the sidebar. An application may want to turn this on if it implements a way for the user to see and interact with drives and network servers directly.

If you enable this, you should connect to the GtkPlacesSidebar::show-other-locations signal.

Available since: 3.18

Parameters

show_other_locations

Type: gboolean

Whether to show an item for the Other Locations view.