placesview: no url for networks
We are not showing the URL of network locations anymore, since they are distracting and not necessary. The code, however, forgot to cleanup the URL, so we are still showing the URL for network locations. Fix that by properly cleanup the URL for network locations.
This commit is contained in:
parent
843a8791a6
commit
1219b67cdb
@ -734,6 +734,9 @@ add_mount (GtkPlacesView *view,
|
||||
schema = g_uri_parse_scheme (uri);
|
||||
is_network = g_strcmp0 (schema, "file") != 0;
|
||||
|
||||
if (is_network)
|
||||
g_clear_pointer (&path, g_free);
|
||||
|
||||
if (!g_mount_is_shadowed (mount))
|
||||
{
|
||||
GtkWidget *row;
|
||||
|
Loading…
Reference in New Issue
Block a user