>On 8/28/06, Bastian, Waldo <[EMAIL PROTECTED]> wrote:
>> Prefix with ./ sounds good:
>>
>> * If it starts with "/" it's an absolute path
>> * If it starts with "./" is's a relative path
>> * Everything else is a themed icon name
>
>'foo/bar.png' is not a relative path, then? That might be a problem
>since Unix doesn't allow the / character in filenames.
>
>I think that anything starting with a / should be an absolute path,
>and everything containing a / whould ba some form of path or other.
>Otherwise you needlessly get the potential for invalid icon names.

foo/bar.png would be looked up according to the icon theme spec.
(E.g. as /usr/share/icons/hicolor/64x64/apps/foo/bar.png)

./foo/bar.png would be a relative path.

That's how the current implementation works.

Cheers,
Waldo
_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to