Why not just - (1) check if the Nautilus Templates folder is present, (2) if it is, use it; if it isn't, create a new one (could be ~/.Templates, Thunar/Templates, or whatever, just not a visible one in the user directory) and use that one.
Yo'av. On 1/30/06, Jaap Karssenberg <[EMAIL PROTECTED]> wrote: > Benedikt Meurer wrote: > > >Well, we have basicly two options here: > > > >1) Templates folder path as configure option. > >2) Merge templates from multiple sources (including ~/Terminal if present). > > > >I don't really like either of them, tho. > > > > > > My guess is that you need to implement #2 anyway because you are going > to want to support both XDG_DATA_DIRS and XDG_DATA_HOME for the portable > implementation. For backward compatibility use ~/Templates if it exists, > but write new templates only to XDG_DATA_HOME. No need for an > configuration option, the user can set $XDG_DATA_HOME if the default > doesn't feel right to him. Also I think this is the lesser of the two > evil because it doesn't add anything to the gui. > > -- Jaap > _______________________________________________ > Thunar-dev mailing list > [email protected] > http://foo-projects.org/mailman/listinfo/thunar-dev > -- Yo'av Moshe http://www.PlaceOnEarth.org _______________________________________________ Thunar-dev mailing list [email protected] http://foo-projects.org/mailman/listinfo/thunar-dev
