On Fri, 2004-01-02 at 16:49, bulia byak wrote:
Probably the problem is caused by the win build storing its preferences in the program dir (I think) instead of the home dir. I will now commit a fix which you'll need to test on windows. I'm not sure g_get_home_dir() works on windows, but if it does, it's the correct way to solve the problem. It should return the dir in your $HOME environment variable, and if there's none, I think it will return C:.
I believe there are a number of system-dependent facilities (e.g. the registry) that g_get_home_dir() also checks on Windows.
In any case, it is the correct thing to use -- though obviously we should be creating a subdirectory for inkscape's files rather than storing preferences.xml directly in the user's profile directory.
-mental