[gvfs/wip/udisks2] Respect Block:HintIgnore property
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/udisks2] Respect Block:HintIgnore property
- Date: Fri, 20 Jan 2012 17:40:59 +0000 (UTC)
commit 02d42f3cd85a0475470163ab3c6bedae905c4b4a
Author: David Zeuthen <davidz redhat com>
Date: Fri Jan 20 12:40:33 2012 -0500
Respect Block:HintIgnore property
Signed-off-by: David Zeuthen <davidz redhat com>
monitor/udisks2/gvfsudisks2volumemonitor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2volumemonitor.c b/monitor/udisks2/gvfsudisks2volumemonitor.c
index cb1cc04..09c8aaa 100644
--- a/monitor/udisks2/gvfsudisks2volumemonitor.c
+++ b/monitor/udisks2/gvfsudisks2volumemonitor.c
@@ -797,6 +797,10 @@ should_include_volume (GVfsUDisks2VolumeMonitor *monitor,
UDisksFilesystem *filesystem;
const gchar* const *mount_points;
+ /* Block:Ignore trumps everything */
+ if (udisks_block_get_hint_ignore (block))
+ goto out;
+
/* show encrypted volumes... */
if (g_strcmp0 (udisks_block_get_id_type (block), "crypto_LUKS") == 0)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]