diff options
author | Chris Lahey <clahey@ximian.com> | 2003-11-30 19:38:12 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-30 19:38:12 +0800 |
commit | 3ee87498b5087ca1e7bd78142ee6c5539673b09f (patch) | |
tree | 97a99ba23db0a53c41d19154eb15956b17b9f6f2 /src/ephy-main.c | |
parent | f84a5ff4e920c25d089786864f1ae2cdd94586d6 (diff) | |
download | gsoc2013-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 'src/ephy-main.c')
-rw-r--r-- | src/ephy-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c index b7d29b4af..276b39734 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -157,6 +157,7 @@ main (int argc, char *argv[]) ephy_file_helpers_init (); ephy_stock_icons_init (); eel_gconf_monitor_add ("/apps/epiphany/general"); + eel_gconf_monitor_add ("/apps/epiphany/lockdown"); bonobo_activate (); ephy_shell = ephy_shell_new (); @@ -182,6 +183,7 @@ main (int argc, char *argv[]) } eel_gconf_monitor_remove ("/apps/epiphany/general"); + eel_gconf_monitor_remove ("/apps/epiphany/lockdown"); ephy_state_save (); ephy_file_helpers_shutdown (); gnome_vfs_shutdown (); |