diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c index 416bffbe8a..853c135f8b 100644 --- a/gtk/gtkplacesview.c +++ b/gtk/gtkplacesview.c @@ -1243,6 +1243,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, view->cancellable, NULL); if (mount) { @@ -1253,6 +1258,10 @@ server_mount_ready_cb (GObject *source_file, g_object_unref (root); g_object_unref (mount); } + else + { + emit_open_location (view, location, view->open_flags); + } } }