GNOME Bugzilla – Bug 622709
Disk Mounter shows shadowed mounts, while it shouldn't
Last modified: 2011-06-13 10:11:46 UTC
Originally reported at: https://bugs.launchpad.net/ubuntu/+source/gnome-applets/+bug/593599 If a GMount is shadowed, which can be checked with g_mount_is_shadowed(), it shouldn't be shown in the Disk Mounter applet. Currently, I've got a device that when connected, it's shown twice in the Disk Mounter. "gvfs-mount -li" shows 2 GMounts for the same mount, but one of them is marked as shadowed, so it seems the Disk Mounter doesn't consider that. Also, Disk Mounter crashes when unmounting that duplicated mount.
Created attachment 164602 [details] [review] If mount is reported as shadowed, ignore it
I committed the patch to git master: http://git.gnome.org/browse/gnome-applets/commit/?id=f7cd488eae7d25c0b2be6a709bc5ebf0420cd165