Save preferences also when they are created from the skeleton
Hi,
As a precautionary measure the preferences apparently aren't saved if there was an error loading them. This also applies if they are initialized from the skeleton.
This makes no sense, since in that case any old file would have been overwritten anyway. It only causes you to lose any preference-changes from any session started without an existing preferences file (like the first one).
I've made a patch for this. It also includes a few gboolean->bool changes. Preferences are still prevented from being saved in case creating the file from the skeleton should fail.
The patch can be found at http://www.lysator.liu.se/~nili/inkscape/ .
--Nicklas
On 8/7/05, Nicklas Lindgren <nili@...612...> wrote:
As a precautionary measure the preferences apparently aren't saved if there was an error loading them. This also applies if they are initialized from the skeleton.
This makes no sense, since in that case any old file would have been overwritten anyway. It only causes you to lose any preference-changes from any session started without an existing preferences file (like the first one).
Thanks - that makes sense, I committed the patch.
On Mon, Aug 08, 2005 at 04:21:13PM -0300, bulia byak wrote:
On 8/7/05, Nicklas Lindgren <nili@...612...> wrote:
As a precautionary measure the preferences apparently aren't saved if there was an error loading them. This also applies if they are initialized from the skeleton.
This makes no sense, since in that case any old file would have been overwritten anyway. It only causes you to lose any preference-changes from any session started without an existing preferences file (like the first one).
Thanks - that makes sense, I committed the patch.
Thanks Nicklas, good work. I see you've earned CVS commit access, so welcome aboard. :-)
Bryce
participants (3)
-
Bryce Harrington
-
bulia byak
-
Nicklas Lindgren