Use default VFS, not a local one (it has no network)

This commit is contained in:
Руслан Ижбулатов 2016-05-02 14:45:44 +00:00
parent 9a03fc906a
commit b579fa82fe

View File

@ -1009,7 +1009,7 @@ fetch_networks (GtkPlacesView *view)
gboolean found;
priv = gtk_places_view_get_instance_private (view);
supported_uris = g_vfs_get_supported_uri_schemes (g_vfs_get_local ());
supported_uris = g_vfs_get_supported_uri_schemes (g_vfs_get_default ());
for (found = FALSE; !found && supported_uris && supported_uris[0]; supported_uris++)
if (g_strcmp0 (supported_uris[0], "network") == 0)