aboutsummaryrefslogtreecommitdiffstats
path: root/data/epiphany-lockdown.schemas.in
diff options
context:
space:
mode:
authorChris Lahey <clahey@ximian.com>2003-11-30 19:38:12 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-30 19:38:12 +0800
commit3ee87498b5087ca1e7bd78142ee6c5539673b09f (patch)
tree97a99ba23db0a53c41d19154eb15956b17b9f6f2 /data/epiphany-lockdown.schemas.in
parentf84a5ff4e920c25d089786864f1ae2cdd94586d6 (diff)
downloadgsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.gz
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.bz2
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.lz
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.xz
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.zst
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.zip
Marco Pesenti Gritti <marco@gnome.org>
2003-11-30 Chris Lahey <clahey@ximian.com> Marco Pesenti Gritti <marco@gnome.org> * data/Makefile.am: * data/epiphany-lockdown.schemas.in: * src/ephy-main.c: (main): * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (update_chromes_visibility), (update_chrome), (ephy_window_fullscreen), (ephy_window_unfullscreen), (show_embed_popup), (update_layout_toggles), (chrome_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_request_chrome), (ephy_window_set_print_preview), (ephy_window_show), (print_dialog_preview_cb): * src/ephy-window.h: * src/ppview-toolbar.c: (ppview_toolbar_set_window), (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_view_bookmarks_bar), (window_cmd_view_toolbar), (window_cmd_view_statusbar): Implement lockdown pref to not allow javascript to modify chromes. Do necessary changes to chromes code to make it possible.
Diffstat (limited to 'data/epiphany-lockdown.schemas.in')
-rw-r--r--data/epiphany-lockdown.schemas.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/epiphany-lockdown.schemas.in b/data/epiphany-lockdown.schemas.in
new file mode 100644
index 000000000..7cdbb4ea8
--- /dev/null
+++ b/data/epiphany-lockdown.schemas.in
@@ -0,0 +1,26 @@
+<gconfschemafile>
+ <schemalist>
+ <schema>
+ <key>/schemas/apps/epiphany/lockdown/disable_javascript_chrome</key>
+ <applyto>/apps/epiphany/lockdown/disable_javascript_chrome</applyto>
+ <owner>epiphany</owner>
+ <type>bool</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Disable JavaScript chrome control</short>
+ <long>Disable JavaScript's control over window chrome.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/epiphany/lockdown/hide_menubar</key>
+ <applyto>/apps/epiphany/lockdown/hide_menubar</applyto>
+ <owner>epiphany</owner>
+ <type>bool</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Hide menubar by default</short>
+ <long>Hide the menubar by default.</long>
+ </locale>
+ </schema>
+ </schemalist>
+</gconfschemafile>