From 391bbbee851c7e90e28322cf48a9277cc7aab883 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 9 Sep 2003 20:16:23 +0000 Subject: First important step in solving the fonts mess. Allow to select the 2003-09-09 Marco Pesenti Gritti * data/default-prefs.js: * data/glade/prefs-dialog.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/prefs-dialog.c: (setup_font_menu), (attach_fonts_signals), (setup_size_controls), (setup_fonts), (prefs_dialog_init): First important step in solving the fonts mess. Allow to select the variable width instead of families. Also use points instead of pixels. Set a minimum font size by default. --- embed/mozilla/mozilla-embed-single.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'embed/mozilla/mozilla-embed-single.cpp') diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index a850fecd0..4cee89bd5 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -214,9 +214,7 @@ impl_get_language_groups (EphyEmbedSingle *shell, static gresult impl_get_font_list (EphyEmbedSingle *shell, const char *langGroup, - const char *fontType, - GList **fontList, - char **default_font); + GList **fontList); static gresult impl_list_cookies (EphyEmbedSingle *shell, GList **cookies); @@ -811,9 +809,7 @@ impl_get_language_groups (EphyEmbedSingle *shell, static gresult impl_get_font_list (EphyEmbedSingle *shell, const char *langGroup, - const char *fontType, - GList **fontList, - char **default_font) + GList **fontList) { nsresult rv; PRUint32 fontCount; @@ -841,11 +837,6 @@ impl_get_font_list (EphyEmbedSingle *shell, *fontList = g_list_reverse (l); - if (default_font != NULL) - { - *default_font = g_strdup (fontType); - } - return G_OK; } -- cgit v1.2.3