[epiphany] Remove minimum font size setting from UI



commit 97918aba30dc791a9e06323c014d6a5631121680
Author: Xan Lopez <xlopez igalia com>
Date:   Tue Mar 8 23:07:00 2011 +0100

    Remove minimum font size setting from UI
    
    This just breaks the layout from too many sites, and we can get
    reasonable readability through the new font size settings available
    and/or zooming. For those so inclined, the value can still be tweaked
    through the gsettings command line or dconf-editor.
    
    Bug #644247

 data/glade/prefs-dialog.ui             |   37 --------------------------------
 data/org.gnome.epiphany.gschema.xml.in |    2 +-
 src/prefs-dialog.c                     |    3 --
 3 files changed, 1 insertions(+), 41 deletions(-)
---
diff --git a/data/glade/prefs-dialog.ui b/data/glade/prefs-dialog.ui
index 04b19e6..66d9b35 100644
--- a/data/glade/prefs-dialog.ui
+++ b/data/glade/prefs-dialog.ui
@@ -293,43 +293,6 @@
                             <property name="orientation">vertical</property>
                             <property name="spacing">6</property>
                             <child>
-                              <object class="GtkHBox" id="hbox177">
-                                <property name="visible">True</property>
-                                <property name="spacing">12</property>
-                                <child>
-                                  <object class="GtkLabel" id="label1312">
-                                    <property name="visible">True</property>
-                                    <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">_Minimum font size:</property>
-                                    <property name="use_underline">True</property>
-                                    <property name="mnemonic_widget">min_size_spinbutton</property>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">False</property>
-                                    <property name="position">0</property>
-                                  </packing>
-                                </child>
-                                <child>
-                                  <object class="GtkSpinButton" id="min_size_spinbutton">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="invisible_char">&#x2022;</property>
-                                    <property name="adjustment">adjustment1</property>
-                                    <property name="climb_rate">1</property>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property name="position">1</property>
-                                  </packing>
-                                </child>
-                              </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="position">0</property>
-                              </packing>
-                            </child>
-                            <child>
                               <object class="GtkCheckButton" id="use_gnome_fonts_checkbutton">
                                 <property name="label" translatable="yes">_Use system fonts</property>
                                 <property name="visible">True</property>
diff --git a/data/org.gnome.epiphany.gschema.xml.in b/data/org.gnome.epiphany.gschema.xml.in
index eb7a1fe..6ac28c0 100644
--- a/data/org.gnome.epiphany.gschema.xml.in
+++ b/data/org.gnome.epiphany.gschema.xml.in
@@ -89,7 +89,7 @@
 	</schema>
 	<schema path="/apps/epiphany/web/" id="org.gnome.Epiphany.web">
 		<key type="i" name="min-font-size">
-			<default>7</default>
+			<default>0</default>
 			<summary>Minimum font size</summary>
 		</key>
 		<key type="b" name="use-gnome-fonts">
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 1910455..296c6b1 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1008,9 +1008,6 @@ 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 },
-	{ "min_size_spinbutton", "value",
-	  EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_FONT_MIN_SIZE,
-	  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]