On 10 Jul 2000, Jean-Marc Lasgouttes wrote:
> >>>>> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes:
>
> Baruch> On 8 Jul 2000, Lars Gullik Bjønnes wrote:
> >> | filename /tmp/platypus.png
>
> Baruch> Actually I've changed to use a relative file path. Now I've
> Baruch> got a problem dealing with the clipart (which is fixed), but
> Baruch> in most of the cases it will be better to go relative.
>
> I think it is better that the name used is the same as what is entered
> in the 'file' text field. The user can decide whether he wants an
> absolute name or not. What I did however in figinset is to make the
> Browse button produce a relative name when it seemed 'reasonable'.
The problem is that the dialog returns (to the best of my knowldege) only
absolute filenames. I can't think of a smart way, a dumb way could
possibly be to make everything below or in the same dir as the document
relative and the rest absolute. I donno if this will cover everything.
Will a checkbox for this be a good idea?
--
Baruch Even
http://techst02.technion.ac.il/~sbaruch/ (My Site)
http://rpghost.com/jindor/ (My brothers AD&D site)
" Learn to laugh ... it's the path to true love! "
- The Angel in the movie Michael