Avoid double slash in path when creating default folders
Creating these default folders still doesn't work. After some
investigation I found that's because the template we use for
the path when creating the child
Gio.Settings
instance
results in a double slash - it comes out as e.g.
/org/gnome/desktop/app-folders//folders/Utilities/ . dconf does
not gracefully handle this as many other things that handle
paths do, it considers it a programmer error. It results in
error messages like:
dconf_changeset_set: assertion 'dconf_is_path (path, NULL)' failed
which is slightly confusing. Anyway, we fix it by removing a slash from the template.
Signed-off-by: Adam Williamson awilliam@redhat.com