RFC: Mac OSX should use existing Pictures/ Music/ Videos/ etc. directories - how exactly?
Ken Sharp
kennybobs at o2.co.uk
Tue Jun 23 15:06:19 CDT 2009
I think Linux has the same problem too.
Joerg-Cyril.Hoehle at t-systems.com wrote:
> Hi,
>
> http://bugs.winehq.org/show_bug.cgi?id=19028
>
> winecfg on Mac OSX (10.5.6 and .7) does not link "My Videos" etc. to the
> equivalent directories on the Mac. Everything is linked to $HOME (or was it
> Desktop/?) instead. What a pity!
>
> Mac OSX uses directories named Documents/, Pictures/, Videos/, Music/ -- even
> in the German locale. The Finder GUI provides localized names. Unlike
> XDG/Gnome there are no crazy hacks at session begin to rename directories based
> on the session's locale.
> I don't know how earlier releases of Mac OSX behave, i.e. whether these
> directories have always been present. Does anyone know a reference?
>
> I located the relevant places that would need a patch:
> dlls/shell32/shellpath.c:_SHCreateSymbolicLinks
> and possibly
> dlls/shell32/xdg.c:XDG_UserDirLookup
>
> However, some design issues are unclear to me, hence prevent me from writing a patch:
> - In what order to add the Mac check?
> - When to check for a folder named "My Documents" (MS-Windows non-localized
> name in English locale, possibly translated), and when for "Documents"
> (MacOS constant name)?
> - Use XDG on the Mac or not? (if linked in, e.g. possibly when compiled via
> MacPorts, which pulls in a zillion libraries. Apple does not provide
> libfreedesktop.)
>
> Thanks for your comments,
> Jörg Höhle
>
>
>
--
SSL Certificates from only £9.99
http://www.123-reg.co.uk/affiliate2.cgi?id=AF62286
More information about the wine-devel
mailing list