[baobab] Add more network protocols to flag mounts as remote



commit 71a8e4a78abaf03d72a591a02f066557c62b0544
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Wed May 27 15:17:16 2020 +0200

    Add more network protocols to flag mounts as remote

 src/baobab-location.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/baobab-location.vala b/src/baobab-location.vala
index 433c8a6..ac35490 100644
--- a/src/baobab-location.vala
+++ b/src/baobab-location.vala
@@ -101,7 +101,7 @@ namespace Baobab {
             fill_from_mount ();
 
             var uri_scheme = Uri.parse_scheme (file.get_uri ());
-            string[] remote_schemes = { "sftp", "ssh" };
+            string[] remote_schemes = { "ftp", "sftp", "ssh", "smb", "google-drive" };
             is_remote = (uri_scheme in remote_schemes);
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]