However, each new Win32 build puts in a new "preferences.xml" file with each installation.
When does it overwrite it - during installation? If so I think it's the installer problem, it should keep the old pref file and use it. On Linux, all my builds use the same pref file; if some new preference was added by a build, it gets merged into the old preferences.xml.
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:.
_________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Yes. It is overwriting at installation.
vellum ----- Original Message ----- From: "bulia byak" <archiver_1@...19...> To: <vellum@...68...>; inkscape-devel@lists.sourceforge.net Sent: Saturday, January 03, 2004 8:49 AM Subject: [Inkscape-devel] RE: Win32 Preferences
However, each new Win32 build puts in a new "preferences.xml" file with each installation.
When does it overwrite it - during installation? If so I think it's the installer problem, it should keep the old pref file and use it. On Linux, all my builds use the same pref file; if some new preference was added by
a
build, it gets merged into the old preferences.xml.
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:.
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
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
On Fri, 2 Jan 2004, bulia byak wrote:
Date: Fri, 02 Jan 2004 21:49:40 +0000 From: bulia byak <archiver_1@...19...> To: vellum@...68..., inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] RE: Win32 Preferences
However, each new Win32 build puts in a new "preferences.xml" file with each installation.
When does it overwrite it - during installation? If so I think it's the installer problem, it should keep the old pref file and use it. On Linux, all my builds use the same pref file; if some new preference was added by a build, it gets merged into the old preferences.xml.
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
g_get_home_dir() wont work on windows 9x (Dia makes a horrible mess of this unfortunately) but it should not be treated as an error instead you should quietly fall back to the old behaviour and use the program directory or something.
Sincerely
Alan Horkan http://advogato.org/person/AlanHorkan/
On Fri, 2004-01-02 at 21:36, Alan Horkan wrote:
g_get_home_dir() wont work on windows 9x (Dia makes a horrible mess of this unfortunately) but it should not be treated as an error instead you should quietly fall back to the old behaviour and use the program directory or something.
Thanks for pointing that out. I'm going to refactor all the cut-and-pasted profile path code in inkscape.cpp and include such a fallback.
-mental
More simple ones.
When I am drawing....
Can I snap to grid? How? Can I snap to objects? How?
Is this documented? Where?
thanks, vellum
vellum wrote:
More simple ones.
When I am drawing....
Can I snap to grid? How?
turn the grid on in edit settings (or whatever it's called this week :) you need to turn on both snap to grid and show grid. You can also snap to guide lines.
Can I snap to objects? How?
Not yet.
Is this documented? Where?
In the user manual!
njh
On Thu, 15 Jan 2004, vellum wrote:
turn the grid on in edit settings (or whatever it's called this week :)
what is it called this week...today...
you need to turn on both snap to grid and show grid. You can also snap to guide lines.
In the user manual!
which in turn is where?
Technically, while it's in the user manual, the user manual is in French, and the English translation is very incomplete. Also note that the manual was written for Sodipodi rather than Inkscape, so does not yet address the new user interface, etc.
The manual is available only through CVS. It would be very nice to publish PDF's of what we do have, and I'm hopeful someone will have a chance to do that for our next release.
Bryce
participants (6)
-
Alan Horkan
-
Bryce Harrington
-
bulia byak
-
MenTaLguY
-
Nathan Hurst
-
vellum