Commit 340a84c9 authored by Lucas Beeler's avatar Lucas Beeler

Fixes an issue where some persistent publishing settings weren't saved. In...

Fixes an issue where some persistent publishing settings weren't saved. In fact, before this fix was applied, none of the shotwell-extras publishers were able to persist their settings at all. This issue was a side-effect of our GConf to GSettings migration. Closes #4006 and #3972.
parent 1f871b4b
......@@ -291,6 +291,12 @@
<summary>user name</summary>
<description>The name of the currently logged in Facebook user, if any</description>
</key>
<key name="default-size" type="i">
<default>0</default>
<summary>default size code</summary>
<description>A numeric code representing the default size for photos published to Facebook</description>
</key>
</schema>
<schema id="org.yorba.shotwell.sharing.flickr" path="/apps/shotwell/sharing/flickr/">
......@@ -337,6 +343,12 @@
<summary>default size</summary>
<description>A numeric code representing the default size for photos uploaded to Picasa Web Albums</description>
</key>
<key name="last-album" type="s">
<default>""</default>
<summary>last album</summary>
<description>The name of the last album the user published photos to, if any</description>
</key>
</schema>
<schema id="org.yorba.shotwell.sharing.youtube" path="/apps/shotwell/sharing/youtube/">
......
......@@ -242,6 +242,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object {
string? cleaned_id = clean_plugin_id(id);
if (cleaned_id == null)
cleaned_id = "default";
cleaned_id = cleaned_id.replace(".", "-");
return "org.yorba.shotwell.%s.%s".printf(domain, cleaned_id);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment