diff options
author | Ross Burton <ross@linux.intel.com> | 2009-08-21 16:37:08 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2010-03-24 15:52:53 +0000 |
commit | 9a7a62d386af1c36101c446e02c6a2bb04047af9 (patch) | |
tree | 25a4d7ae59976dc67432ac866503da4720772a40 | |
parent | e724ed4d9b527ee26a4dcae69afc4eabf7a241fa (diff) | |
download | gnome-settings-daemon-9a7a62d386af1c36101c446e02c6a2bb04047af9.tar.gz |
Respect the should-automount hint when hotplugging
-rw-r--r-- | plugins/mount/gsd-mount-manager.c | 3 |
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); |