GNOME Bugzilla – Bug 498906
Save and load settings using a file in ~/.pitivi/
Last modified: 2009-02-12 03:55:11 UTC
I quickly wrote a patch for the settings object which allows it to load settings from a file, and write them back to the file on shutdown. It uses python's standard ConfigParser module, making a file which is easily modifiable by hand. I didn't put anything in place to handle plugin settings but it'd be straightforward to do.
Created attachment 99463 [details] [review] patch to enable load/save of settings to a file in ~/.pitivi/ filename is currently hardcoded to "pitivi.conf", section name for general settings is "pitivi-main"
I think PiTiVi might want to follow xdg base directory specification ( http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html ) for storing settings. It's trivial to implement and help users keep a clean home directory.
duplicate of bug #335547 ?
*** This bug has been marked as a duplicate of 335547 ***
I'm starting a configuration branch based on these changes (but heavily modified at this point).