aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-11-05 02:35:29 +0800
committerXan Lopez <xan@src.gnome.org>2003-11-05 02:35:29 +0800
commit49103bde7a0ab9b73c774af446bb1c29b0dc8cf9 (patch)
treec945fcb8bcbd9b48608cbf9988c9ca502046f717 /data
parentddaaf5bd5e7bf588131be271d2c12a825c6bd833 (diff)
downloadgsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar
gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.gz
gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.bz2
gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.lz
gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.xz
gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.zst
gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.zip
Rework ContentHandler to use the auto_open_downloads key.
* data/epiphany.schemas.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * lib/ephy-prefs.h: Rework ContentHandler to use the auto_open_downloads key.
Diffstat (limited to 'data')
-rw-r--r--data/epiphany.schemas.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/epiphany.schemas.in b/data/epiphany.schemas.in
index d7f6fded5..21b248bf0 100644
--- a/data/epiphany.schemas.in
+++ b/data/epiphany.schemas.in
@@ -131,6 +131,18 @@
<long>Show the tab bar also when there is only one tab open.</long>
</locale>
</schema>
+ <schema>
+ <key>/schemas/apps/epiphany/general/auto_open_downloads</key>
+ <applyto>/apps/epiphany/general/auto_open_downloads</applyto>
+ <owner>epiphany</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short>Auto open downloads</short>
+ <long>Automatically open downloaded files which are "safe" to open,
+ like videos, images, text documents, compressed files, etc.</long>
+ </locale>
+ </schema>
<schema>
<key>/schemas/apps/epiphany/general/middle_click_open_url</key>
<applyto>/apps/epiphany/general/middle_click_open_url</applyto>