[epiphany] Select the serif font as the default web font.



commit b4cda077a3c24129d671ff1ead5cb5edf2e05df0
Author: Martin Robinson <mrobinson igalia com>
Date:   Fri Mar 11 09:43:55 2011 -0800

    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 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index bcd479e..fc6bbb1 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]