aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-main.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2004-01-11 05:59:25 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-11 05:59:25 +0800
commit09136af43c1074fb979578be2987cd0ae3a8852d (patch)
treee4673d8a9ad46a80a97002004426fad58e99841f /src/ephy-main.c
parentd33c13d6d52a405ef9bec15b414904a9c2620380 (diff)
downloadgsoc2013-epiphany-09136af43c1074fb979578be2987cd0ae3a8852d.tar
gsoc2013-epiphany-09136af43c1074fb979578be2987cd0ae3a8852d.tar.gz
gsoc2013-epiphany-09136af43c1074fb979578be2987cd0ae3a8852d.tar.bz2
gsoc2013-epiphany-09136af43c1074fb979578be2987cd0ae3a8852d.tar.lz
gsoc2013-epiphany-09136af43c1074fb979578be2987cd0ae3a8852d.tar.xz
gsoc2013-epiphany-09136af43c1074fb979578be2987cd0ae3a8852d.tar.zst
gsoc2013-epiphany-09136af43c1074fb979578be2987cd0ae3a8852d.zip
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.c3
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 ();