Rename debug settings to org.gtk.Settings.Debug4

This gives us the freedom to make changes without
interfering with GTK3.
This commit is contained in:
Matthias Clasen 2019-04-01 18:55:26 -04:00
parent 0189b0c903
commit e2fcca4e60
3 changed files with 4 additions and 4 deletions

View File

@ -9733,7 +9733,7 @@ inspector_keybinding_enabled (gboolean *warn)
*warn = FALSE;
schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
"org.gtk.Settings.Debug",
"org.gtk.Settings.Debug4",
TRUE);
if (schema)
@ -9755,7 +9755,7 @@ set_warn_again (gboolean warn)
GSettings *settings;
schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
"org.gtk.Settings.Debug",
"org.gtk.Settings.Debug4",
TRUE);
if (schema)

View File

@ -970,7 +970,7 @@ gtk_settings_schemas = [
'org.gtk.Settings.FileChooser.gschema.xml',
'org.gtk.Settings.ColorChooser.gschema.xml',
'org.gtk.Settings.EmojiChooser.gschema.xml',
'org.gtk.Settings.Debug.gschema.xml',
'org.gtk.Settings.Debug4.gschema.xml',
]
install_data(gtk_settings_schemas, install_dir: gtk_schemasdir)
gnome.compile_schemas(depend_files: files(gtk_settings_schemas),

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema id='org.gtk.Settings.Debug' path='/org/gtk/settings/debug/'>
<schema id='org.gtk.Settings.Debug4' path='/org/gtk/settings/debug4/'>
<key name='enable-inspector-keybinding' type='b'>
<default>false</default>
<summary>Enable inspector keybinding</summary>