From 818cf0139401620a5a04f0f0e12a5cbd001cdd8e Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 10 Jan 2004 15:35:19 +0000 Subject: Added disable_arbitrary_url, disable_toolbar_editing, and disable_history 2004-01-09 Christopher James Lahey * 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. --- data/epiphany-lockdown.schemas.in | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'data') 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 @@ -47,6 +47,17 @@ default, when disable_unsafe_protocols is enabled. + + /schemas/apps/epiphany/lockdown/disable_arbitrary_url + /apps/epiphany/lockdown/disable_arbitrary_url + epiphany + bool + 0 + + Disable Arbitrary URLs + Disable users ability to type in a URL to epiphany. + + /schemas/apps/epiphany/lockdown/disable_bookmark_editing /apps/epiphany/lockdown/disable_bookmark_editing @@ -58,5 +69,27 @@ Disable users ability to edit their bookmarks. + + /schemas/apps/epiphany/lockdown/disable_toolbar_editing + /apps/epiphany/lockdown/disable_toolbar_editing + epiphany + bool + 0 + + Disable Toolbar Editing + Disable users ability to edit toolbars. + + + + /schemas/apps/epiphany/lockdown/disable_history + /apps/epiphany/lockdown/disable_history + epiphany + bool + 0 + + Disable History + Disable all historical information by disabling the back button, not allowing the history dialog and hiding the favorite bookmarks. + + -- cgit v1.2.3