Re: [Banshee-List] Re: [Bug 343785] Mass storage updates
- From: Aaron Bockover <abockover novell com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Re: [Bug 343785] Mass storage updates
- Date: Wed, 07 Jun 2006 10:09:14 -0400
James,
Please leave these comments on the bug itself.
Thanks,
Aaron
On Wed, 2006-06-07 at 12:22 +0100, James Stembridge wrote:
> On 6/6/06, banshee (bugzilla.gnome.org)
> <bugzilla-daemon bugzilla gnome org> wrote:
> ...
> > This is a slightly updated version of the patch.
> ...
>
> Gabriel,
>
> The additional logic you've added around checking the mounted status
> seems unnecessary, specifically:
>
> private bool mounted = false
> ...
> volume = monitor.GetVolumeForPath(MountPoint);
> if (volume == null) {
> // Gnome VFS doesn't know volume is mounted yet
> monitor.VolumeMounted += OnVolumeMounted;
> is_read_only = true;
> } else {
> mounted = true;
> is_read_only = volume.IsReadOnly;
> }
>
> If volume is null it doesn't mean that the volume isn't mounted yet
> (we can't ever get to this situation due to the previous check on the
> volume.is_mounted property) rather it just means that VFS hasn't
> noticed that it's mounted yet. This means we can always carry on
> regardless of what VFS says as we've already established that it's
> mounted.
>
> Also, you seem to have reverted my change to base duplicate detection
> on meta info rather than filename. I think meta info detection should
> be more reliable?
>
> Cheers,
> James.
> _______________________________________________
> Banshee-list mailing list
> Banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]