PlacesSidebar.setShowOtherLocations

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 show-other-locations signal.

class PlacesSidebar
void
setShowOtherLocations

Parameters

showOtherLocations bool

whether to show an item for the Other Locations view

Meta

Since

3.18