diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-07-22 12:28:44 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-07-22 12:50:58 +0800 |
commit | a502b86e3ec519335b6363d4d4888148f8aede34 (patch) | |
tree | 4ec1060b47e9b1b6d3b7ecc92e20075076ee0f59 /autoarchive/org.gnome.desktop.archives.gschema.xml | |
parent | cf01064fcf2f25d2977062063236b337222fefa8 (diff) | |
download | gsoc2013-epiphany-a502b86e3ec519335b6363d4d4888148f8aede34.tar gsoc2013-epiphany-a502b86e3ec519335b6363d4d4888148f8aede34.tar.gz gsoc2013-epiphany-a502b86e3ec519335b6363d4d4888148f8aede34.tar.bz2 gsoc2013-epiphany-a502b86e3ec519335b6363d4d4888148f8aede34.tar.lz gsoc2013-epiphany-a502b86e3ec519335b6363d4d4888148f8aede34.tar.xz gsoc2013-epiphany-a502b86e3ec519335b6363d4d4888148f8aede34.tar.zst gsoc2013-epiphany-a502b86e3ec519335b6363d4d4888148f8aede34.zip |
Add AutoarPref settings reading support
These codes has not been tested, so it may contain serious bugs.
Diffstat (limited to 'autoarchive/org.gnome.desktop.archives.gschema.xml')
-rw-r--r-- | autoarchive/org.gnome.desktop.archives.gschema.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/autoarchive/org.gnome.desktop.archives.gschema.xml b/autoarchive/org.gnome.desktop.archives.gschema.xml new file mode 100644 index 000000000..f026c2f05 --- /dev/null +++ b/autoarchive/org.gnome.desktop.archives.gschema.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<schemalist> + <schema path="/org/gnome/desktop/archives/" id="org.gnome.desktop.archives"> + <key name="default-format" enum="org.gnome.desktop.archives.AutoarPrefFormat"> + <default>'zip'</default> + <summary>Default file format for new archives (archive creation)</summary> + <description>The default file format used to create new archives.</description> + </key> + <key name="default-filter" enum="org.gnome.desktop.archives.AutoarPrefFilter"> + <default>'none'</default> + <summary>Default filter to create archives (archive creation)</summary> + <description>The default filter used to compress new archives.</description> + </key> + <key name="file-name-suffix" type="as"> + <default>['zip', '7z', 'rar', 'lha', 'lzh', 'xar', 'Z', 'gz', 'bzip2', 'uue', 'xz', 'lzip', 'lzma']</default> + <summary>File extensions of archives (archive extraction)</summary> + <description>This list is used by applications to determine whether a file should be automatically extracted.</description> + </key> + <key name="file-mime-type" type="as"> + <default>['application/x-7z-compressed', 'application/x-7z-compressed-tar', 'application/x-bzip', 'application/x-bzip-compressed-tar', 'application/x-compress', 'application/x-compressed-tar', 'application/x-cpio', 'application/x-gzip', 'application/x-lha', 'application/x-lzip', 'application/x-lzip-compressed-tar', 'application/x-lzma', 'application/x-lzma-compressed-tar', 'application/x-rar', 'application/x-tar', 'application/x-tarz', 'application/x-xar', 'application/x-xz', 'application/x-xz-compressed-tar', 'application/zip']</default> + <summary>>File MIME types of archives (archive extraction)</summary> + <description>This list is used by applications to determine whether a file should be automatically extracted.</description> + </key> + <key name="pattern-to-ignore" type="as"> + <default>['__MACOSX', '.DS_Store', '._.*']</default> + <summary>Patterns of file names will not be extracted (archive extraction)</summary> + <description>This list contains glob-style patterns, and it is used by applications to determine whether an entry in an archive should be written to disk.</description> + </key> + <key name="delete-if-succeed" type="b"> + <default>true</default> + <summary>Whether to delete the source archive if the extraction is successful (archive extraction)</summary> + <description>If TRUE, the source archive will be deleted after the extraction succeed</description> + </key> + </schema> +</schemalist> |