aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-12-09 17:41:15 +0800
committerXan Lopez <xan@gnome.org>2010-12-09 17:41:15 +0800
commit85c5fc195a1b422c0851eed651f54aa1f9fb22f9 (patch)
treeb611991ec516ed6b79c31c47b9226b8265415bc4
parent321749b5c05208f88922c2a6aca4b460a2a12459 (diff)
downloadgsoc2013-epiphany-85c5fc195a1b422c0851eed651f54aa1f9fb22f9.tar.gz
gsoc2013-epiphany-85c5fc195a1b422c0851eed651f54aa1f9fb22f9.tar.zst
gsoc2013-epiphany-85c5fc195a1b422c0851eed651f54aa1f9fb22f9.zip
prefs: remove broken preferences from UI
Allow pages to use their own colors/fonts preferences have never really worked in WebKit. I'm not even sure we want this in the UI, but at the very least remove them until there's a setting in the engine to control this.
-rw-r--r--data/glade/prefs-dialog.ui30
-rw-r--r--src/prefs-dialog.c6
2 files changed, 0 insertions, 36 deletions
diff --git a/data/glade/prefs-dialog.ui b/data/glade/prefs-dialog.ui
index b98558566..39db568b7 100644
--- a/data/glade/prefs-dialog.ui
+++ b/data/glade/prefs-dialog.ui
@@ -379,36 +379,6 @@
</packing>
</child>
<child>
- <object class="GtkCheckButton" id="use_fonts_checkbutton">
- <property name="label" translatable="yes">Let web pages specify their own _fonts</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="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="use_colors_checkbutton">
- <property name="label" translatable="yes">Let web pages specify their own c_olors</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="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
<object class="GtkHBox" id="css_container">
<property name="visible">True</property>
<property name="spacing">24</property>
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 44946c6fb..2dd2ea2bc 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1041,15 +1041,9 @@ static const PrefsDialogPreference preferences[] =
{ "use_gnome_fonts_checkbutton", "active",
EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_USE_GNOME_FONTS,
G_SETTINGS_BIND_DEFAULT, NULL, NULL },
- { "use_fonts_checkbutton", "active",
- EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_USE_OWN_FONTS,
- G_SETTINGS_BIND_DEFAULT, NULL, NULL },
{ "min_size_spinbutton", "value",
EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_FONT_MIN_SIZE,
G_SETTINGS_BIND_DEFAULT, NULL, NULL },
- { "use_colors_checkbutton", "active",
- EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_USE_OWN_COLORS,
- G_SETTINGS_BIND_DEFAULT, NULL, NULL },
{ "popups_allow_checkbutton", "active",
EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_ENABLE_POPUPS,
G_SETTINGS_BIND_DEFAULT, NULL, NULL },