[nautilus-actions] Add a schema for 'na-desktop/locked' mandatory key



commit f785e7678597a978141b75237f6b8f1a8030544a
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Jan 20 23:49:11 2010 +0100

    Add a schema for 'na-desktop/locked' mandatory key

 ChangeLog                        |    3 +++
 TODO                             |    2 --
 data/nautilus-actions.schemas.in |   12 +++++++++++-
 3 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bb7a4f2..960f49a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,9 @@
 
 2009-01-20 Pierre Wieser <pwieser trychlos org>
 
+	* data/nautilus-actions.schemas.in:
+	Add a schema for 'na-desktop/locked' mandatory key.
+
 	* .gitignore:
 	Ignore eclipse-specific files.
 
diff --git a/TODO b/TODO
index 74839ab..7accdc5 100644
--- a/TODO
+++ b/TODO
@@ -125,8 +125,6 @@
 
 - enhancement.ui: notebook page should be labeled 'Action' or 'Menu' depending of current item
 
-- schema: add a key for na-desktop/locked
-
 - rationale: when na-gconf is set by an admin as locked, does this really
   mean that all GConf must be considered as read-only ? Not really. It should
   rather be considered as GConf actions are read-only. Preferences stay editable.
diff --git a/data/nautilus-actions.schemas.in b/data/nautilus-actions.schemas.in
index fb02d71..7b2af5a 100644
--- a/data/nautilus-actions.schemas.in
+++ b/data/nautilus-actions.schemas.in
@@ -660,7 +660,6 @@ A default default list is harcoded in nautilus-actions-config-tool, which may be
       <key>/schemas/apps/nautilus-actions/mandatory/na-gconf/locked</key>
       <owner>nautilus-actions</owner>
       <type>bool</type>
-      <list_type>int</list_type>
       <locale name="C">
         <short>Whether the GConf I/O provider is locked</short>
         <long>When set to true (most probably as a mandatory key), this prevents all items readen from GConf to being modified in NACT.</long>
@@ -668,5 +667,16 @@ A default default list is harcoded in nautilus-actions-config-tool, which may be
       <default>false</default>
     </schema>
 
+    <schema>
+      <key>/schemas/apps/nautilus-actions/mandatory/na-desktop/locked</key>
+      <owner>nautilus-actions</owner>
+      <type>bool</type>
+      <locale name="C">
+        <short>Whether the Desktop I/O provider is locked</short>
+        <long>When set to true (most probably as a mandatory key), this prevents all items readen as .desktop files to being modified in NACT.</long>
+      </locale>
+      <default>false</default>
+    </schema>
+
   </schemalist>
 </gconfschemafile>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]