drive-menu: ignore shadowed mounts

Shadow mounts are created by the GVolume infrastructure to wrap
daemon mounts managed by volume monitors, and are an implementation
detail that should not be exposed to the user.
This commit is contained in:
Giovanni Campagna
2013-10-20 17:49:12 +02:00
parent b62a65e1a8
commit a21def6e6e
+2
View File
@@ -133,6 +133,8 @@ const DriveMenu = new Lang.Class({
_isMountInteresting: function(mount) {
if (!mount.can_eject() && !mount.can_unmount())
return false;
if (mount.is_shadowed())
return false;
let volume = mount.get_volume();