From 4015281028a036ee859360bb7feb3a6aeb8f56cb Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 7 Dec 2010 19:51:11 +0100 Subject: prefs-dialog: new custom font selection UI Allow users to set custom sans, serif and monospace fonts if they don't want the defaults, which are the desktop wide settings in the org.gnome.desktop.interface schema. Bug #636761 --- data/glade/prefs-dialog.ui | 86 ++++++++++++++++++++++++++++++++-- data/org.gnome.epiphany.gschema.xml.in | 20 ++++++++ 2 files changed, 102 insertions(+), 4 deletions(-) (limited to 'data') diff --git a/data/glade/prefs-dialog.ui b/data/glade/prefs-dialog.ui index e2c385731..b98558566 100644 --- a/data/glade/prefs-dialog.ui +++ b/data/glade/prefs-dialog.ui @@ -272,7 +272,7 @@ True 0 - _Minimum size: + _Minimum font size: True min_size_spinbutton @@ -300,6 +300,84 @@ 0 + + + True + vertical + 6 + + + _Use system fonts + True + True + False + True + True + + + False + False + 0 + + + + + True + 12 + + + True + vertical + 6 + + + True + True + True + True + + + 0 + + + + + True + True + True + Serif 12 + True + + + 1 + + + + + True + True + True + Monospace 12 + True + + + 2 + + + + + + + False + 1 + + + + + False + 1 + + Let web pages specify their own _fonts @@ -312,7 +390,7 @@ False False - 1 + 2 @@ -327,7 +405,7 @@ False False - 2 + 3 @@ -376,7 +454,7 @@ False - 4 + 5 diff --git a/data/org.gnome.epiphany.gschema.xml.in b/data/org.gnome.epiphany.gschema.xml.in index 587a5ebcb..eb7a1fe2d 100644 --- a/data/org.gnome.epiphany.gschema.xml.in +++ b/data/org.gnome.epiphany.gschema.xml.in @@ -92,6 +92,26 @@ 7 Minimum font size + + true + Use GNOME fonts + Use GNOME desktop wide font configuration. + + + 'Sans 10' + Custom sans-serif font + A value to be used to override sans-serif desktop font when use-gnome-fonts is set. + + + 'Serif 10' + Custom serif font + A value to be used to override serif desktop font when use-gnome-fonts is set. + + + 'Monospace 10' + Custom monospace font + A value to be used to override monospace desktop font when use-gnome-fonts is set. + false Use own colors -- cgit v1.2.3