From 1a9a315b7f892116319bc5b05323f7d98bbccc36 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 10 May 2003 10:57:14 +0000 Subject: Implement security page. Remove some useless hidden prefs in the process. 2003-05-10 Marco Pesenti Gritti * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: * src/language-editor.h: * src/prefs-dialog.c: Implement security page. Remove some useless hidden prefs in the process. --- data/epiphany.schemas.in | 46 +++++++ data/glade/prefs-dialog.glade | 273 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 313 insertions(+), 6 deletions(-) (limited to 'data') diff --git a/data/epiphany.schemas.in b/data/epiphany.schemas.in index 09717145c..883f244de 100644 --- a/data/epiphany.schemas.in +++ b/data/epiphany.schemas.in @@ -575,6 +575,52 @@ + + /schemas/apps/epiphay/security/cookie_accept + /apps/epiphany/security/cookie_accept + epiphany + int + 0 + + Cookie accept + Where to accept cookies from. Possible values are 0 (anywhere), + 1 (from current server only), 2 (nowhere) + + + + /schemas/apps/epiphany/security/allow_popups + /apps/epiphany/security/allow_popups + epiphany + bool + true + + Allow popups + Allow sites to open new windows using JavaScript (if JavaScript + is enabled). + + + + /schemas/apps/epiphany/security/java_enabled + /apps/epiphany/security/java_enabled + epiphany + bool + 1 + + Enable Java + Enable Java. + + + + /schemas/apps/epiphany/security/javascript_enabled + /apps/epiphany/security/javascript_enabled + epiphany + bool + 1 + + Enable JavaScript + Enable JavaScript. + + diff --git a/data/glade/prefs-dialog.glade b/data/glade/prefs-dialog.glade index 598d95707..f97a22444 100644 --- a/data/glade/prefs-dialog.glade +++ b/data/glade/prefs-dialog.glade @@ -1700,20 +1700,281 @@ + 12 True False - 0 + 18 - - + + True + False + 6 - - + + + True + <b>Web Content</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + False + 0 + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + False + 6 + + + + True + True + Allow popup windows + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + True + True + Enable _Java + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + True + True + Enable Java_Script + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + False + True + - + + True + False + 6 + + + + True + <b>Cookies</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + False + 0 + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + False + 6 + + + + True + True + _Always accept + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + True + True + Accept _from current site only + True + GTK_RELIEF_NORMAL + False + False + True + cookies_radiobutton + + + 0 + False + False + + + + + + True + True + _Never accept + True + GTK_RELIEF_NORMAL + False + False + True + cookies_radiobutton + + + 0 + False + False + + + + + 0 + False + False + + + + + 0 + True + True + + + + + 0 + False + True + -- cgit v1.2.3