summaryrefslogtreecommitdiff
path: root/monitor/udisks2/gvfsudisks2volumemonitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/udisks2/gvfsudisks2volumemonitor.c')
-rw-r--r--monitor/udisks2/gvfsudisks2volumemonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/udisks2/gvfsudisks2volumemonitor.c b/monitor/udisks2/gvfsudisks2volumemonitor.c
index e1d67fb8..b3f3ce65 100644
--- a/monitor/udisks2/gvfsudisks2volumemonitor.c
+++ b/monitor/udisks2/gvfsudisks2volumemonitor.c
@@ -866,7 +866,7 @@ should_include_volume (GVfsUDisks2VolumeMonitor *monitor,
}
/* show encrypted volumes... */
- if (g_strcmp0 (udisks_block_get_id_type (block), "crypto_LUKS") == 0)
+ if (g_strcmp0 (udisks_block_get_id_usage (block), "crypto") == 0)
{
UDisksBlock *cleartext_block;
/* ... unless the volume is unlocked and we don't want to show the cleartext volume */