[nautilus-actions] Add io-providers/read-at-startup and io-providers/writable keys



commit 8480542baa741b7e9b55f5f1a18e0c8436ac5ca1
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Mar 17 21:37:16 2010 +0100

    Add io-providers/read-at-startup and io-providers/writable keys

 ChangeLog                        |    4 +++-
 data/nautilus-actions.schemas.in |   28 ++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d2d7234..88c3de7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 2009-03-17 Pierre Wieser <pwieser trychlos org>
 
-	* data/nautilus-actions.schemas.in: Fix typo.
+	* data/nautilus-actions.schemas.in:
+	Fix typo.
+	Add io-providers/read-at-startup and io-providers/writable keys.
 
 	* src/nact/nact.desktop.in: Add StartupNotify=true.
 
diff --git a/data/nautilus-actions.schemas.in b/data/nautilus-actions.schemas.in
index 89fa338..b8bed6e 100644
--- a/data/nautilus-actions.schemas.in
+++ b/data/nautilus-actions.schemas.in
@@ -287,6 +287,34 @@ All schemes used by Nautilus can be used here. This only applies when targeting
       <default>[]</default>
     </schema>
 
+    <!-- schemas for io-providers -->
+
+    <schema>
+      <key>/schemas/apps/nautilus-actions/io-providers/read-at-startup</key>
+      <owner>nautilus-actions</owner>
+      <type>bool</type>
+      <locale name="C">
+        <short>Whether this I/O provider should be read at startup</short>
+        <long>When set to false, this prevents this whole I/O provider to be read at startup.
+Actual key is /apps/nautilus-actions/io-providers/<provider_id>/read-at-startup.
+This is a user preference.</long>
+      </locale>
+      <default>true</default>
+    </schema>
+
+    <schema>
+      <key>/schemas/apps/nautilus-actions/io-providers/writable</key>
+      <owner>nautilus-actions</owner>
+      <type>bool</type>
+      <locale name="C">
+        <short>Whether this I/O provider is writable</short>
+        <long>When set to false, this prevents all items readen from this I/O provider from being updated in NACT.
+Actual key is /apps/nautilus-actions/io-providers/<provider_id>/writable.
+This is a user preference.</long>
+      </locale>
+      <default>true</default>
+    </schema>
+
     <!-- schemas for preferences -->
 
     <schema>



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