[gnome-keyring/gsettings-migration: 3/3] [schema] Add in org.gnome.crypto.pgp gsettings schema.



commit 83dd6f13ab0a24092dccc69d9119df71cad448ac
Author: Stef Walter <stef memberwebs com>
Date:   Wed Sep 8 01:14:07 2010 +0000

    [schema] Add in org.gnome.crypto.pgp gsettings schema.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=622401

 schema/Makefile.am                      |    6 ++++--
 schema/org.gnome.crypto.pgp.convert     |    6 ++++++
 schema/org.gnome.crypto.pgp.gschema.xml |   29 +++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+), 2 deletions(-)
---
diff --git a/schema/Makefile.am b/schema/Makefile.am
index b0f2eef..c3ce9f4 100644
--- a/schema/Makefile.am
+++ b/schema/Makefile.am
@@ -1,11 +1,13 @@
 
 gsettings_SCHEMAS = \
-	org.gnome.crypto.cache.gschema.xml
+	org.gnome.crypto.cache.gschema.xml \
+	org.gnome.crypto.pgp.gschema.xml
 
 @GSETTINGS_RULES@
 
 convert_DATA = \
-	org.gnome.crypto.cache.convert
+	org.gnome.crypto.cache.convert \
+	org.gnome.crypto.pgp.convert
 
 convertdir = \
 	$(datarootdir)/GConf/gsettings
diff --git a/schema/org.gnome.crypto.pgp.convert b/schema/org.gnome.crypto.pgp.convert
new file mode 100644
index 0000000..86387d5
--- /dev/null
+++ b/schema/org.gnome.crypto.pgp.convert
@@ -0,0 +1,6 @@
+[org.gnome.crypto.pgp]
+default-key = /desktop/pgp/default_key
+ascii-armor = /desktop/pgp/ascii_armor
+sort-recipients-by = /desktop/pgp/recipients/sort_by
+encrypt-to-self = /desktop/pgp/encrypt_to_self
+last-signer = /desktop/pgp/last_signer_openpgp
diff --git a/schema/org.gnome.crypto.pgp.gschema.xml b/schema/org.gnome.crypto.pgp.gschema.xml
new file mode 100644
index 0000000..06f71b8
--- /dev/null
+++ b/schema/org.gnome.crypto.pgp.gschema.xml
@@ -0,0 +1,29 @@
+<schemalist>
+	<schema id="org.gnome.crypto.pgp" path="/desktop/gnome/crypto/pgp/">
+		<key name="default-key" type="s">
+			<default>''</default>
+			<summary>Default PGP Key</summary>
+			<description>This specifies the ID of the default PGP key to use for certain operations, mainly signing.</description>
+		</key>
+		<key name="ascii-armor" type="b">
+			<default>true</default>
+			<summary>ASCII Armor</summary>
+			<description>When encrypting or signing PGP files whether to use ASCII armor encoding.</description>
+		</key>
+		<key name="sort-recipients-by" type="s">
+			<default>'name'</default>
+			<summary>The column to sort the recipients</summary>
+			<description>Specify the column to sort the recipients window by. Columns are: 'name' and 'id'. Put a '-' in front of the column name to sort in descending order.</description>
+		</key>
+		<key name="encrypt-to-self" type="b">
+			<default>true</default>
+			<summary>Whether to always encrypt to default key</summary>
+			<description>If set to true, then the default key will always be added to an encryption recipients list.</description>
+		</key>
+		<key name="last-signer" type="s">
+			<default>''</default>
+			<summary>Last key used to sign a message.</summary>
+			<description>The ID of the last secret key used to sign a message.</description>
+		</key>
+	</schema>
+</schemalist>



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