diff options
author | Ondrej Holy <oholy@redhat.com> | 2021-04-22 10:57:57 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2021-04-22 12:24:48 +0200 |
commit | cba5beec5289050a9a882223510a6a6d88a3af94 (patch) | |
tree | e05afbefb7fbf68102ef374aa681215f5f5316ef | |
parent | b3d68fbbf8f679dc2a8357881c0c692ee9a9c425 (diff) | |
download | nautilus-cba5beec5289050a9a882223510a6a6d88a3af94.tar.gz |
gtkplacesview: Update to the latest code
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1811
-rw-r--r-- | src/gtk/nautilusgtkplacesview.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gtk/nautilusgtkplacesview.c b/src/gtk/nautilusgtkplacesview.c index ae35daa60..b38777f2a 100644 --- a/src/gtk/nautilusgtkplacesview.c +++ b/src/gtk/nautilusgtkplacesview.c @@ -1266,6 +1266,11 @@ server_mount_ready_cb (GObject *source_file, GMount *mount; GFile *root; + /* + * If the mount is not found at this point, it is probably user- + * invisible, which happens e.g for smb-browse, but the location + * should be opened anyway... + */ mount = g_file_find_enclosing_mount (location, priv->cancellable, NULL); if (mount) { @@ -1276,6 +1281,10 @@ server_mount_ready_cb (GObject *source_file, g_object_unref (root); g_object_unref (mount); } + else + { + emit_open_location (view, location, priv->open_flags); + } } } |