Re: How nautilus manage drive icons
- From: Christian Neumair <chris gnome-de org>
- To: Xavier Claessens <xclaesse gmail com>
- Cc: Mark McLoughlin <mark skynet ie>, Vincent Untz <vuntz gnome org>, "nautilus-list gnome org" <nautilus-list gnome org>
- Subject: Re: How nautilus manage drive icons
- Date: Tue, 09 May 2006 18:59:46 +0200
Am Dienstag, den 09.05.2006, 10:25 +0200 schrieb Xavier Claessens:
> Le mardi 09 mai 2006 �0:01 +0200, Christian Neumair a �it :
> > > For volume icons from the desktop, is it possible to make it work like
> > > in computer:/// ? nautilus should generate on-the-fly same .drive files.
> > > Like that we are sure that at least icons from desktop and from
> > > computer:/// react the same way.
> >
> > Passing around on-the-fly generated files (which would have to be put
> > into file:///tmp) isn't a good idea IMHO, because it requires sniffing
> > foreach passed-in URI. My proposal tried to address the fact that some
> > applications are interested in volumes or drives but not in their
> > corresponding files, since the actual volume/drive data can be queried
> > from the volume monitor.
>
> Ok. So computer:/// should works like x-nautilus-desktop:/// and
> nautilus should never use the on-the-fly generated .drive files. Like
> that most problems are solved because icons from desktop aren't accepted
> for dropping anywhere.
No, it doesn't solve the problem, because - as you pointed out - not
doing anything isn't really user-friendly either. IMHO it would be the
best to operate on the drive's activation URI when dropping a volume or
drive file to another folder.
> Maybe after that we could patch gnome-panel to accept drag from desktop
> icon and make a special applet based on the GnomeVFSDrive passed.
>
> What do you think about that ? It is possible ?
Yes, that sounds feasible. Maybe we can have new PANEL_OBJECT_VFS_DRIVE
and PANEL_OBJECT_VFS_DRIVE PanelObjectType entries. I'm CCing Mark and
Vincent to get some feedback on the proposals. The whole thread is
archived under [1].
> > > Last problem: what about dropping a volume icon in a folder ? For now it
> > > works. If I drop in my home directory the same icon that I did for the
> > > panel, I get this file in /home/zdra :
> >
> > What do you mean by "it works"? It doesn't work!
> > The .desktop file just reflects the current state of the volume/drive,
> > but not modifications (unmounting, ejection) to it.x
> >
>
> I can right-click and unmount it or whatever is possible by the icon in
> computer:///. But yes it is not refreshed, that's the problem.
[1] http://mail.gnome.org/archives/nautilus-list/2006-May/msg00012.html
--
Christian Neumair <chris gnome-de org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]