Re: honor shadowed mounts (Was Re: gphoto2 backend fixes)



On Tue, 2009-02-10 at 15:51 -0500, David Zeuthen wrote:
> (Moving to nautilus-list)
> 
> On Tue, 2009-02-10 at 14:45 -0500, David Zeuthen wrote:
> > The next item on my list is to make the rest of the desktop handles
> > shadowed mounts. There are two ways to fix this
> > 
> >  1. Go through all GVolumeMonitor users and make them honor the
> >     g_mount_is_shadowed() flag; or
> > 
> >  2. Add new API to GVolumeMonitor
> > 
> >      get_shadowed_mounts()
> >      ::shadowed-mount-added
> >      ::shadowed-mount-removed
> >      ::shadowed-mount-pre-unmount
> >      ::shadowed-mount-changed
> > 
> >     and a) port the volume monitors we have in gio+gvfs to this.
> > 
> > So I think 2. is probably the best solution but I wanted to check here
> > first.
> 
> Or maybe that's confusing and it's easier to just fix up existing users.
> Here's the patch for Nautilus to honor g_mount_is_shadowed().

commited.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]