From b4cda077a3c24129d671ff1ead5cb5edf2e05df0 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Fri, 11 Mar 2011 09:43:55 -0800 Subject: 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. --- embed/ephy-embed-prefs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'embed/ephy-embed-prefs.c') 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, -- cgit v1.2.1