diff options
author | Christopher James Lahey <clahey@ximian.com> | 2004-01-10 21:59:25 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-10 21:59:25 +0000 |
commit | 09136af43c1074fb979578be2987cd0ae3a8852d (patch) | |
tree | e4673d8a9ad46a80a97002004426fad58e99841f /src/ephy-main.c | |
parent | d33c13d6d52a405ef9bec15b414904a9c2620380 (diff) | |
download | epiphany-09136af43c1074fb979578be2987cd0ae3a8852d.tar.gz |
Implement print and print setup disabling for lockdown mode.
2004-01-10 Christopher James Lahey <clahey@ximian.com>
* embed/mozilla/PrintingPromptService.cpp:
* lib/ephy-prefs.h:
* src/ephy-main.c: (main):
* src/ephy-window.c: (update_actions), (ephy_window_init),
(ephy_window_finalize), (ephy_window_print):
Implement print and print setup disabling for lockdown mode.
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r-- | src/ephy-main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c index ccb349ee3..f2240e76b 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -156,6 +156,8 @@ main (int argc, char *argv[]) ephy_stock_icons_init (); eel_gconf_monitor_add ("/apps/epiphany/general"); eel_gconf_monitor_add ("/apps/epiphany/lockdown"); + eel_gconf_monitor_add ("/desktop/gnome/lockdown"); + bonobo_activate (); ephy_shell = ephy_shell_new (); @@ -182,6 +184,7 @@ main (int argc, char *argv[]) eel_gconf_monitor_remove ("/apps/epiphany/general"); eel_gconf_monitor_remove ("/apps/epiphany/lockdown"); + eel_gconf_monitor_remove ("/desktop/gnome/lockdown"); ephy_state_save (); ephy_file_helpers_shutdown (); gnome_vfs_shutdown (); |