aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
author8 <clahey@ximian.com>2004-01-08 23:42:09 +0800
committerChris Lahey <clahey@src.gnome.org>2004-01-08 23:42:09 +0800
commit54ceff0ed9f6f9085d084903453e77950e41ace3 (patch)
treede76defb3f310ec00e613907543dd214f15ec03d /lib
parentf4d976d3d8675948af9bf4ab28e900cc2dcc72e5 (diff)
downloadgsoc2013-epiphany-54ceff0ed9f6f9085d084903453e77950e41ace3.tar
gsoc2013-epiphany-54ceff0ed9f6f9085d084903453e77950e41ace3.tar.gz
gsoc2013-epiphany-54ceff0ed9f6f9085d084903453e77950e41ace3.tar.bz2
gsoc2013-epiphany-54ceff0ed9f6f9085d084903453e77950e41ace3.tar.lz
gsoc2013-epiphany-54ceff0ed9f6f9085d084903453e77950e41ace3.tar.xz
gsoc2013-epiphany-54ceff0ed9f6f9085d084903453e77950e41ace3.tar.zst
gsoc2013-epiphany-54ceff0ed9f6f9085d084903453e77950e41ace3.zip
Don't save the file if disable_save_to_disk is on.
2004-01-08 <clahey@ximian.com> * embed/mozilla/ContentHandler.cpp (MIMEAskAction): Don't save the file if disable_save_to_disk is on. * lib/ephy-prefs.h (CONF_DISABLE_SAVE_TO_DISK): Added this key here. * src/ephy-window.c (update_actions): Obey disable_save_to_disk. Also, disable toggling view settings if their keys are locked.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-prefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index 1814d63b2..965d0ed0c 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -43,6 +43,9 @@ G_BEGIN_DECLS
#define CONF_STATE_DOWNLOAD_DIR "/apps/epiphany/directories/download"
#define CONF_STATE_UPLOAD_DIR "/apps/epiphany/directories/upload"
+/* Lockdown */
+#define CONF_DISABLE_SAVE_TO_DISK "/desktop/gnome/lockdown/disable_save_to_disk"
+
/* System prefs */
#define CONF_DESKTOP_FTP_HANDLER "/desktop/gnome/url-handlers/ftp/command"
#define CONF_DESKTOP_TOOLBAR_STYLE "/desktop/gnome/interface/toolbar_style"