summaryrefslogtreecommitdiff
path: root/gtk/org.gtk.Settings.Debug.gschema.xml
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-16 21:51:42 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-16 21:51:42 -0400
commitb4a57a0f0cabf671f90b255351b10c5165d6acd7 (patch)
tree321f259ff3559f5336c450094b4e0c02b060c5e7 /gtk/org.gtk.Settings.Debug.gschema.xml
parent2bf654b35201ae24bb6086d56d5b4ee3375f08be (diff)
downloadgtk+-b4a57a0f0cabf671f90b255351b10c5165d6acd7.tar.gz
inspector: Add a first-time warning
With the keybinding, it is possible that users may trigger the inspector unintentionally. Show a dialog that informs them about whats going on and gives them a chance to back out. The warning dialog can be bypassed with the org.gtk.Settings.Debug inspector-warning setting.
Diffstat (limited to 'gtk/org.gtk.Settings.Debug.gschema.xml')
-rw-r--r--gtk/org.gtk.Settings.Debug.gschema.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/org.gtk.Settings.Debug.gschema.xml b/gtk/org.gtk.Settings.Debug.gschema.xml
index db3ff64b77..4ef67da183 100644
--- a/gtk/org.gtk.Settings.Debug.gschema.xml
+++ b/gtk/org.gtk.Settings.Debug.gschema.xml
@@ -11,6 +11,14 @@
the keybinding are Control-Shift-I and Control-Shift-D.
</description>
</key>
+ <key name='inspector-warning' type='b'>
+ <default>true</default>
+ <summary>Inspector warning</summary>
+ <description>
+ If this setting is true, GTK+ shows a warning before letting
+ the user use the interactive debugger.
+ </description>
+ </key>
</schema>
</schemalist>