Commit dc8b67de authored by Allison Karlitskaya's avatar Allison Karlitskaya 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.
parent 9bdc970f
......@@ -6020,8 +6020,7 @@ settings_ensure (GtkFileChooserDefault *impl)
if (impl->settings != NULL)
impl->settings = g_settings_new_with_path ("org.gtk.Settings.FileChooser",
impl->settings = g_settings_new ("org.gtk.Settings.FileChooser");
g_settings_delay (impl->settings);
......@@ -33,7 +33,7 @@
<value nick='descending' value='1'/>
<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'>
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