diff options
author | Chris Lahey <clahey@src.gnome.org> | 2004-01-10 04:49:11 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2004-01-10 04:49:11 +0800 |
commit | 1743162eef31aab9bb28a2c8201240e7dc4bd1cd (patch) | |
tree | 46addc66c3d524ccd4adddac135385b44c390852 /data | |
parent | fd4119bf05f970c82fda53fe0deff9dc440d8f5b (diff) | |
download | gsoc2013-epiphany-1743162eef31aab9bb28a2c8201240e7dc4bd1cd.tar gsoc2013-epiphany-1743162eef31aab9bb28a2c8201240e7dc4bd1cd.tar.gz gsoc2013-epiphany-1743162eef31aab9bb28a2c8201240e7dc4bd1cd.tar.bz2 gsoc2013-epiphany-1743162eef31aab9bb28a2c8201240e7dc4bd1cd.tar.lz gsoc2013-epiphany-1743162eef31aab9bb28a2c8201240e7dc4bd1cd.tar.xz gsoc2013-epiphany-1743162eef31aab9bb28a2c8201240e7dc4bd1cd.tar.zst gsoc2013-epiphany-1743162eef31aab9bb28a2c8201240e7dc4bd1cd.zip |
Added disable_bookmark_editing key.
* data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added
disable_bookmark_editing key.
* lib/ephy-node-db.c, ephy-node-db.h, ephy-node.c: Added immutable
property.
* lib/egg/egg-editable-toolbar.c (drag_data_received_cb,
toolbar_drag_motion_cb), src/ephy-toolbars-model.c
(impl_get_item_id): Made these handle immutable models/node_dbs.
* src/ephy-automation.c, src/ephy-session.c: Don't show the
bookmark editor if disabled.
* src/ephy-window.c: Disable a bunch of menus if bookmark editing
is disabled.
* src/bookmarks/ephy-bookmarks-import.c,
src/bookmarks/ephy-bookmarks.c: Disable bookmark editing and
importing is key is set. Uses immutable property.
Diffstat (limited to 'data')
-rw-r--r-- | data/epiphany-lockdown.schemas.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/epiphany-lockdown.schemas.in b/data/epiphany-lockdown.schemas.in index 9e44d7a89..c904dc144 100644 --- a/data/epiphany-lockdown.schemas.in +++ b/data/epiphany-lockdown.schemas.in @@ -47,5 +47,16 @@ default, when disable_unsafe_protocols is enabled.</long> </locale> </schema> + <schema> + <key>/schemas/apps/epiphany/lockdown/disable_bookmark_editing</key> + <applyto>/apps/epiphany/lockdown/disable_bookmark_editing</applyto> + <owner>epiphany</owner> + <type>bool</type> + <default>0</default> + <locale name="C"> + <short>Disable Bookmark Editing</short> + <long>Disable users ability to edit their bookmarks.</long> + </locale> + </schema> </schemalist> </gconfschemafile> |