aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-10-03 23:51:49 +0800
committerXan Lopez <xan@igalia.com>2012-10-03 23:56:45 +0800
commit91238d8269a87a449989b6d3326c2606123ef301 (patch)
treeb09c3cdfe985d3255482102c798aa69320ad73c9
parentc502c1efc7ab014eaef8e69449cbda4002b91aab (diff)
downloadgsoc2013-epiphany-91238d8269a87a449989b6d3326c2606123ef301.tar
gsoc2013-epiphany-91238d8269a87a449989b6d3326c2606123ef301.tar.gz
gsoc2013-epiphany-91238d8269a87a449989b6d3326c2606123ef301.tar.bz2
gsoc2013-epiphany-91238d8269a87a449989b6d3326c2606123ef301.tar.lz
gsoc2013-epiphany-91238d8269a87a449989b6d3326c2606123ef301.tar.xz
gsoc2013-epiphany-91238d8269a87a449989b6d3326c2606123ef301.tar.zst
gsoc2013-epiphany-91238d8269a87a449989b6d3326c2606123ef301.zip
prefs-dialog: remove JavaScript preference from the UI
https://bugzilla.gnome.org/show_bug.cgi?id=685393
-rw-r--r--src/prefs-dialog.c3
-rw-r--r--src/resources/prefs-dialog.ui17
2 files changed, 0 insertions, 20 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index ebd82cdff..ac067f498 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -991,9 +991,6 @@ static const PrefsDialogPreference preferences[] =
{ "enable_plugins_checkbutton", "active",
EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_ENABLE_PLUGINS,
G_SETTINGS_BIND_DEFAULT, NULL, NULL },
- { "enable_javascript_checkbutton", "active",
- EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_ENABLE_JAVASCRIPT,
- G_SETTINGS_BIND_DEFAULT, NULL, NULL },
{ "css_checkbox", "active",
EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_ENABLE_USER_CSS,
G_SETTINGS_BIND_DEFAULT, NULL, NULL },
diff --git a/src/resources/prefs-dialog.ui b/src/resources/prefs-dialog.ui
index 1f2847a8f..ebf4265b2 100644
--- a/src/resources/prefs-dialog.ui
+++ b/src/resources/prefs-dialog.ui
@@ -676,23 +676,6 @@
<property name="position">2</property>
</packing>
</child>
- <child>
- <object class="GtkCheckButton" id="enable_javascript_checkbutton">
- <property name="label" translatable="yes">Enable Java_Script</property>
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="xalign">0.5</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
</object>
</child>
</object>