diff options
author | David Zeuthen <davidz@redhat.com> | 2012-01-20 12:26:01 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2012-01-20 12:26:01 -0500 |
commit | e3abfad8bfcecedf266ab878e20455929215929b (patch) | |
tree | e7c3479aaabc48a5621b406340a552ab6ba4b9e4 | |
parent | 10e26fc2697cb01490803bd9f93df6db8149ce03 (diff) | |
download | gvfs-e3abfad8bfcecedf266ab878e20455929215929b.tar.gz |
Use Block:HintAuto instead of Drive:Removable to determine automount
This makes it possible to override with the UDISKS_AUTO property.
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r-- | monitor/udisks2/gvfsudisks2volume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c index 49f34aae..50492fa2 100644 --- a/monitor/udisks2/gvfsudisks2volume.c +++ b/monitor/udisks2/gvfsudisks2volume.c @@ -324,7 +324,7 @@ update_volume (GVfsUDisks2Volume *volume) * * Fortunately udisks provides a property just for this. */ - if (udisks_drive_get_removable (udisks_drive)) + if (udisks_block_get_hint_auto (volume->block)) { /* Also, if a volume (partition) appear _much later_ than when media was inserted it * can only be because the media was repartitioned. We don't want to automount |