[Nautilus-list] magic desktop URIs


In CVS I have the desktop-vfs-module directory. This contains two
things at the moment:

 - a cheesy desktop file parser, which I am using in Nautilus to
   replace its current desktop handling code with something that works
   on non-file: URIs; I think this will need to end up cut-and-pasted 
   into Nautilus for now, then eventually merged with or replaced by 
   whatever George cooks up for parsing these things

 - a VFS module that simply maps magic URIs to trees of desktop files, 
   we have:

      preferences:  /usr/share/control-center
      programs:     /etc/X11/applnk + /usr/share/gnome/apps
      sysconfig:    /etc/X11/sysconfig
      serverconfig: /etc/X11/serverconfig
      favorites:    ~/.gnome/apps
      starthere:    /etc/X11/starthere

I want to submit both of these upstream if people are open to it. The
only issue with the Nautilus patch I think is how to deal with the
cheesy desktop parser code. I think just cut-and-pasting it into
Nautilus is right, probably no one else is going to use it in the
immediate future anyhow. I'll try to get this patch in acceptable
shape and send it in soon.

For the VFS module, does this make sense for gnome-vfs or should it be
at a higher level?

Ideally the panel would use programs: to get its menus, so that we
don't have to write the code to merge and sort out directory hierarchy
in two places, esp. when moving to George's planned new setup.

As an aside: when I write a new file into favorites:, Nautilus doesn't
rescan the directory. I guess it can't figure out that a FAM message
about ~/.gnome/apps relates to the favorites: URI. Is there a solution
to this?


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