Re: [PATCH] Translate the "Templates" folder


On Wed, 2005-10-19 at 12:26 +0200, Luca Ferretti wrote:

> > > > > I'm all for this kind of stuff (why not ~/Desktop too ?) but it's a
> > > > > Nautilus only feature :-( I'm not speaking about other DE and/or GUI
> > > > > application, but also GTK+ filechooser :-(((
> > > > 
> > > > I'm aware of that. However, we can adapt the file chooser later.
> > > > 
> > > 
> > > Maybe a fd.o spec ??
> > 
> > Is it worth to make a spec which describes how a very limited set of
> > directories (for now 2) should be modified before they're displayed
> > inside GUIs?
> > 
> I meant a spec with some 'basic' locations, i.e.
>         Desktop
>         Documents
>         Movies
>         Music
>         Images
>         Public --> public_html
> defining names and path in file system, and providing translations.
> Maybe a tool/library to modify-before-display and eventually to add new
> locations (Templates in Nautilus, Downloads in Epiphany).

See for some ideas on default
desktop places.

Basically, we should set up a way for application to register new
"shortcuts", instead of directly creating the directories these
shortcuts point to; e.g., we could set up ~/.gnome2/nautilus/Templates
and present it as "Templates" inside the side pane; this way, the user
won't see a "Templates" directory inside his ${HOME}.

The idea is that every application needing a special folder to be
exposed by the user would "register" it by editing/dropping a file in a
default location (e.g. Totem -> Movies, Rhythmbox -> Music, F-Spot ->
Photos, etc.); that file would be readable by everyone (visibility rules
for private "shortcuts" might apply).  This way, Nautilus might show
those "shortcuts" inside its side pane; Nautilus plugins might even
access them, and access the contents inside these locations.

As soon as the BookmarkFile parser (needed by the Recent Files code)
goes in GLib/GTK there will be a way to set up (per-application)
bookmarks, so the infrastructure should be usable also in Nautilus.


Emmanuele Bassi - <ebassi gmail com>

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