diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed-prefs.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c index daea9fb8e..bcd479e40 100644 --- a/embed/ephy-embed-prefs.c +++ b/embed/ephy-embed-prefs.c @@ -359,16 +359,15 @@ webkit_pref_callback_gnome_fonts (GSettings *ephy_settings, if (g_settings_get_boolean (ephy_settings, key)) { settings = ephy_settings_get ("org.gnome.desktop.interface"); - webkit_pref_callback_font_size (settings, "font-name", + webkit_pref_callback_font_size (settings, "document-font-name", "default-font-size"); webkit_pref_callback_font_size (settings, "monospace-font-name", "default-monospace-font-size"); - webkit_pref_callback_font_family (settings, "font-name", + webkit_pref_callback_font_family (settings, "document-font-name", "default-font-family"); webkit_pref_callback_font_family (settings, "font-name", "sans-serif-font-family"); - webkit_pref_callback_font_family (settings, "monospace-font-name", "monospace-font-family"); } else { @@ -397,7 +396,7 @@ static const PrefData webkit_pref_entries[] = { /* GNOME font settings */ { "org.gnome.desktop.interface", - "font-name", + "document-font-name", "default-font-size", webkit_pref_callback_font_size }, { "org.gnome.desktop.interface", @@ -405,7 +404,7 @@ static const PrefData webkit_pref_entries[] = "default-monospace-font-size", webkit_pref_callback_font_size }, { "org.gnome.desktop.interface", - "font-name", + "document-font-name", "default-font-family", webkit_pref_callback_font_family }, { "org.gnome.desktop.interface", |