aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2004-01-10 23:35:19 +0800
committerChris Lahey <clahey@src.gnome.org>2004-01-10 23:35:19 +0800
commit818cf0139401620a5a04f0f0e12a5cbd001cdd8e (patch)
treeefe24bae1a4e96a973c8a9f2e45b9d261ef327ff /data
parentb0b62cbe423aa7c223baa81000cf66ec421ed2a2 (diff)
downloadgsoc2013-epiphany-818cf0139401620a5a04f0f0e12a5cbd001cdd8e.tar
gsoc2013-epiphany-818cf0139401620a5a04f0f0e12a5cbd001cdd8e.tar.gz
gsoc2013-epiphany-818cf0139401620a5a04f0f0e12a5cbd001cdd8e.tar.bz2
gsoc2013-epiphany-818cf0139401620a5a04f0f0e12a5cbd001cdd8e.tar.lz
gsoc2013-epiphany-818cf0139401620a5a04f0f0e12a5cbd001cdd8e.tar.xz
gsoc2013-epiphany-818cf0139401620a5a04f0f0e12a5cbd001cdd8e.tar.zst
gsoc2013-epiphany-818cf0139401620a5a04f0f0e12a5cbd001cdd8e.zip
Added disable_arbitrary_url, disable_toolbar_editing, and disable_history
2004-01-09 Christopher James Lahey <clahey@ximian.com> * data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added disable_arbitrary_url, disable_toolbar_editing, and disable_history keys. * src/ephy-automation.c (impl_ephy_automation_loadurl): Make this ignore a url given on the command line if disable_arbitrary_url is on. * src/ephy-notebook.c (notebook_drag_data_received_cb): Made this ignore drags if disable_arbitrary_url is on. * src/ephy-session.c (ephy_session_load): Don't show history window if disable_history is on. * src/ephy-tab.c (ephy_tab_dom_mouse_click_cb): Disable middle click to paste url if disable_arbitrary_url is on. * src/ephy-window.c: Disable menu actions based on disable_arbitrary_url, disable_toolbar_editing, and disable_history keys.
Diffstat (limited to 'data')
-rw-r--r--data/epiphany-lockdown.schemas.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/data/epiphany-lockdown.schemas.in b/data/epiphany-lockdown.schemas.in
index c904dc144..9125b7597 100644
--- a/data/epiphany-lockdown.schemas.in
+++ b/data/epiphany-lockdown.schemas.in
@@ -48,6 +48,17 @@
</locale>
</schema>
<schema>
+ <key>/schemas/apps/epiphany/lockdown/disable_arbitrary_url</key>
+ <applyto>/apps/epiphany/lockdown/disable_arbitrary_url</applyto>
+ <owner>epiphany</owner>
+ <type>bool</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Disable Arbitrary URLs</short>
+ <long>Disable users ability to type in a URL to epiphany.</long>
+ </locale>
+ </schema>
+ <schema>
<key>/schemas/apps/epiphany/lockdown/disable_bookmark_editing</key>
<applyto>/apps/epiphany/lockdown/disable_bookmark_editing</applyto>
<owner>epiphany</owner>
@@ -58,5 +69,27 @@
<long>Disable users ability to edit their bookmarks.</long>
</locale>
</schema>
+ <schema>
+ <key>/schemas/apps/epiphany/lockdown/disable_toolbar_editing</key>
+ <applyto>/apps/epiphany/lockdown/disable_toolbar_editing</applyto>
+ <owner>epiphany</owner>
+ <type>bool</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Disable Toolbar Editing</short>
+ <long>Disable users ability to edit toolbars.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/epiphany/lockdown/disable_history</key>
+ <applyto>/apps/epiphany/lockdown/disable_history</applyto>
+ <owner>epiphany</owner>
+ <type>bool</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Disable History</short>
+ <long>Disable all historical information by disabling the back button, not allowing the history dialog and hiding the favorite bookmarks.</long>
+ </locale>
+ </schema>
</schemalist>
</gconfschemafile>