diff options
author | Martin Robinson <mrobinson@igalia.com> | 2011-03-12 01:43:55 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-03-12 03:23:08 +0800 |
commit | b4cda077a3c24129d671ff1ead5cb5edf2e05df0 (patch) | |
tree | 96e5ba2acc04ef4c6c2003a7137bea40c4584716 /embed/ephy-embed-prefs.c | |
parent | d9988616e498950ffa1c48023c715acf20c06958 (diff) | |
download | gsoc2013-epiphany-b4cda077a3c24129d671ff1ead5cb5edf2e05df0.tar gsoc2013-epiphany-b4cda077a3c24129d671ff1ead5cb5edf2e05df0.tar.gz gsoc2013-epiphany-b4cda077a3c24129d671ff1ead5cb5edf2e05df0.tar.bz2 gsoc2013-epiphany-b4cda077a3c24129d671ff1ead5cb5edf2e05df0.tar.lz gsoc2013-epiphany-b4cda077a3c24129d671ff1ead5cb5edf2e05df0.tar.xz gsoc2013-epiphany-b4cda077a3c24129d671ff1ead5cb5edf2e05df0.tar.zst gsoc2013-epiphany-b4cda077a3c24129d671ff1ead5cb5edf2e05df0.zip |
Select the serif font as the default web font.
To match the behavior of other browsers, the default web content font
is the serif font, instead of the sans-serif font.
Bug #644523.
Diffstat (limited to 'embed/ephy-embed-prefs.c')
-rw-r--r-- | embed/ephy-embed-prefs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c index bcd479e40..fc6bbb11a 100644 --- a/embed/ephy-embed-prefs.c +++ b/embed/ephy-embed-prefs.c @@ -374,12 +374,12 @@ webkit_pref_callback_gnome_fonts (GSettings *ephy_settings, /* Sync with Epiphany values */ settings = ephy_settings; - webkit_pref_callback_font_size (settings, EPHY_PREFS_WEB_SANS_SERIF_FONT, + webkit_pref_callback_font_size (settings, EPHY_PREFS_WEB_SERIF_FONT, "default-font-size"); webkit_pref_callback_font_size (settings, EPHY_PREFS_WEB_MONOSPACE_FONT, "default-monospace-font-size"); - webkit_pref_callback_font_family (settings, EPHY_PREFS_WEB_SANS_SERIF_FONT, + webkit_pref_callback_font_family (settings, EPHY_PREFS_WEB_SERIF_FONT, "default-font-family"); webkit_pref_callback_font_family (settings, EPHY_PREFS_WEB_SANS_SERIF_FONT, "sans-serif-font-family"); @@ -418,7 +418,7 @@ static const PrefData webkit_pref_entries[] = /* Epiphany font settings */ { EPHY_PREFS_WEB_SCHEMA, - EPHY_PREFS_WEB_SANS_SERIF_FONT, + EPHY_PREFS_WEB_SERIF_FONT, "default-font-size", webkit_pref_callback_font_size }, { EPHY_PREFS_WEB_SCHEMA, @@ -426,7 +426,7 @@ static const PrefData webkit_pref_entries[] = "default-monospace-font-size", webkit_pref_callback_font_size }, { EPHY_PREFS_WEB_SCHEMA, - EPHY_PREFS_WEB_SANS_SERIF_FONT, + EPHY_PREFS_WEB_SERIF_FONT, "default-font-family", webkit_pref_callback_font_family }, { EPHY_PREFS_WEB_SCHEMA, |