[baobab] Exclude mounts when scanning recent locations



commit 89748a40e9450da599fa6fbcd753d15384554d12
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Sep 9 12:01:50 2015 +0200

    Exclude mounts when scanning recent locations
    
    Mount points are excluded for all other cases by default, so exclude
    them for recent locations also.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663603

 src/baobab-location.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/baobab-location.vala b/src/baobab-location.vala
index 4c47b7a..0722ddf 100644
--- a/src/baobab-location.vala
+++ b/src/baobab-location.vala
@@ -142,7 +142,7 @@ namespace Baobab {
                 get_fs_usage ();
             }
 
-            scanner = new Scanner (file, ScanFlags.NONE);
+            scanner = new Scanner (file, ScanFlags.EXCLUDE_MOUNTS);
         }
 
         public Location.for_file (File file_, ScanFlags flags) {


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