diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-03-09 06:07:00 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-03-10 04:31:34 +0800 |
commit | 97918aba30dc791a9e06323c014d6a5631121680 (patch) | |
tree | f54ce49f13c63fe5fc9d82b083a4ba461994df0a | |
parent | 5bad61bdd27b8d9578951bc6823f1dd8ea092aea (diff) | |
download | gsoc2013-epiphany-97918aba30dc791a9e06323c014d6a5631121680.tar gsoc2013-epiphany-97918aba30dc791a9e06323c014d6a5631121680.tar.gz gsoc2013-epiphany-97918aba30dc791a9e06323c014d6a5631121680.tar.bz2 gsoc2013-epiphany-97918aba30dc791a9e06323c014d6a5631121680.tar.lz gsoc2013-epiphany-97918aba30dc791a9e06323c014d6a5631121680.tar.xz gsoc2013-epiphany-97918aba30dc791a9e06323c014d6a5631121680.tar.zst gsoc2013-epiphany-97918aba30dc791a9e06323c014d6a5631121680.zip |
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
-rw-r--r-- | data/glade/prefs-dialog.ui | 37 | ||||
-rw-r--r-- | data/org.gnome.epiphany.gschema.xml.in | 2 | ||||
-rw-r--r-- | 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 04b19e633..66d9b35f9 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">•</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 eb7a1fe2d..6ac28c0de 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 191045548..296c6b18c 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 }, |