After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675531 - [PATCH] Fix saving settings on first time
[PATCH] Fix saving settings on first time
Status: RESOLVED FIXED
Product: blam
Classification: Other
Component: General
unspecified
Other Linux
: Normal major
: ---
Assigned To: Carlos Martín Nieto
Carlos Martín Nieto
Depends on:
Blocks:
 
 
Reported: 2012-05-05 20:17 UTC by Balló György
Modified: 2012-05-12 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix saving settings on first time (672 bytes, patch)
2012-05-05 20:17 UTC, Balló György
none Details | Review

Description Balló György 2012-05-05 20:17:38 UTC
Created attachment 213525 [details] [review]
Fix saving settings on first time

I the settings file is not available on exit, Blam fails to save settings.

This small fix creates the settings file if it's not available before save.
Comment 1 Carlos Martín Nieto 2012-05-12 18:20:04 UTC
This is a bit too hacky. It turns out I'd been missing the "ovewrite" parameter in File.Copy() all this time. A fix with that is in the repo now.

Thanks for bringing this to my attention.