Commit dc8b67de authored by Ryan Lortie's avatar Ryan Lortie Committed by Matthias Clasen

file chooser: give GSettings schema a path

The code is always instantiating this schema at a fixed location, so why
is it relocatable?

Add a path so that it shows up properly in dconf-editor, and from the
gsettings commandline tool.

https://bugzilla.gnome.org/show_bug.cgi?id=692163
parent 9bdc970f
......@@ -6020,8 +6020,7 @@ settings_ensure (GtkFileChooserDefault *impl)
if (impl->settings != NULL)
return;
impl->settings = g_settings_new_with_path ("org.gtk.Settings.FileChooser",
"/org/gtk/settings/file-chooser/");
impl->settings = g_settings_new ("org.gtk.Settings.FileChooser");
g_settings_delay (impl->settings);
}
......
......@@ -33,7 +33,7 @@
<value nick='descending' value='1'/>
</enum>
<schema id='org.gtk.Settings.FileChooser'>
<schema id='org.gtk.Settings.FileChooser' path='/org/gtk/settings/file-chooser/'>
<key name='last-folder-uri' type='s'>
<default>""</default>
</key>
......
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