From b220da708bf3c4f0c103d10ac9f91dcb8632d225 Mon Sep 17 00:00:00 2001
From: Stefano Facchini <stefano.facchini@gmail.com>
Date: Mon, 17 Nov 2014 13:41:41 +0100
Subject: [PATCH] Exclude mountpoints when handling commandline arguments
This is the intended default behavior.
https://bugzilla.gnome.org/show_bug.cgi?id=740245
---
src/baobab-application.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/baobab-application.vala b/src/baobab-application.vala
index b8eb004..f39d3a4 100644
--- a/src/baobab-application.vala
+++ b/src/baobab-application.vala
@@ -43,7 +43,7 @@ namespace Baobab {
protected override void open (File[] files, string hint) {
foreach (var file in files) {
var window = new Window (this);
- window.scan_directory (file);
+ window.scan_directory (file, ScanFlags.EXCLUDE_MOUNTS);
}
}
--
2.4.0