[epiphany] prefs: remove broken preferences from UI



commit 85c5fc195a1b422c0851eed651f54aa1f9fb22f9
Author: Xan Lopez <xan gnome org>
Date:   Thu Dec 9 10:41:15 2010 +0100

    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.

 data/glade/prefs-dialog.ui |   30 ------------------------------
 src/prefs-dialog.c         |    6 ------
 2 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/data/glade/prefs-dialog.ui b/data/glade/prefs-dialog.ui
index b985585..39db568 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 44946c6..2dd2ea2 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 },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]