gsettings-tool fixes: Add missing _apply(), add unset-recursively to man page
authorColin Walters <walters@verbum.org>
Tue, 12 Apr 2011 16:56:33 +0000 (12:56 -0400)
committerColin Walters <walters@verbum.org>
Tue, 12 Apr 2011 16:56:33 +0000 (12:56 -0400)
docs/reference/gio/gsettings.xml
gio/gsettings-tool.c

index 1d8e3818700435cd9c0c5c545b598cd499670ea8..f55784dc2d13bee0cbcdaf8d5a89f455644bf063 100644 (file)
     <arg choice="plain"><replaceable>SCHEMA</replaceable><arg choice="opt">:<replaceable>PATH</replaceable></arg></arg>
     <arg choice="plain"><replaceable>KEY</replaceable></arg>
   </cmdsynopsis>
+  <cmdsynopsis>
+    <command>gsettings</command>
+    <arg choice="plain">reset-recursively</arg>
+    <arg choice="plain"><replaceable>SCHEMA</replaceable><arg choice="opt">:<replaceable>PATH</replaceable></arg></arg>
+  </cmdsynopsis>
   <cmdsynopsis>
     <command>gsettings</command>
     <arg choice="plain">list-schemas</arg>
@@ -151,6 +156,13 @@ Resets <replaceable>KEY</replaceable> to its default value.
 </para></listitem>
 </varlistentry>
 
+<varlistentry>
+<term><option>reset-recursively</option></term>
+<listitem><para>
+Reset all keys under the given <replaceable>SCHEMA</replaceable>.
+</para></listitem>
+</varlistentry>
+
 <varlistentry>
 <term><option>list-schemas</option></term>
 <listitem><para>
index bed72f1702093634a350783c81a10d39553456f7..824da5a142eba8996281b85bb03272b8b6dede37 100644 (file)
@@ -401,6 +401,7 @@ gsettings_reset_recursively (GSettings   *settings,
   
   g_strfreev (children);
   
+  g_settings_apply (settings);
   g_settings_sync ();
 }