[Thunar-dev] Create File

Jaap Karssenberg j.g.karssenberg at student.utwente.nl
Mon Jan 30 22:28:58 CET 2006


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



More information about the Thunar-dev mailing list