summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/mount/gsd-mount-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mount/gsd-mount-manager.c b/plugins/mount/gsd-mount-manager.c
index a768f037..eb441a6e 100644
--- a/plugins/mount/gsd-mount-manager.c
+++ b/plugins/mount/gsd-mount-manager.c
@@ -94,7 +94,8 @@ volume_added_cb (GVolumeMonitor *monitor,
name = g_volume_get_name (volume);
g_debug ("Volme '%s' added", name);
- if (g_volume_can_mount (volume)) {
+ if (g_volume_can_mount (volume) &&
+ g_volume_should_automount (volume)) {
GMountOperation *mount_op;
g_debug ("Mounting '%s'", name);