presets: Commit 7bf0e292 is problematic
@aleb
Submitted by Alex Băluț Assigned to Alex Băluț @aleb
Description
Some cleanup needs to be done:
-
the user_path field which now represents a directory path used to represent a file path, this means that when the users will try to save presets they will not be able to;
-
the presets that the users of previous Pitivi releases have already saved will be "forgotten" instead of being converted to the new json format;
-
the PresetManager subclasses all set a "filepath" key in the preset dictionary, but they should not have to do this, because they don't use it, instead the PresetManager class should manage this information;
-
the user is stuck with the default presets, but the user should be able to delete them if she does not want them, or edit them;
-
add docstrings, for example explain in the PresetManager docstring what the 'default_path' and 'user_path' fields mean, etc.;
-
add unit tests (after fixing them, see bug T2876).
Thanks.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=658627