diff options
Diffstat (limited to 'drivemount')
-rw-r--r-- | drivemount/drive-list.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivemount/drive-list.c b/drivemount/drive-list.c index e249482f..2f8eb6f3 100644 --- a/drivemount/drive-list.c +++ b/drivemount/drive-list.c @@ -370,6 +370,11 @@ add_mount (DriveList *self, GMount *mount) GtkWidget *button; GVolume *volume; + /* ignore mounts reported as shadowed */ + if (g_mount_is_shadowed (mount)) { + return; + } + /* ignore mounts attached to a volume */ volume = g_mount_get_volume (mount); if (volume) { |