From bb2de06694a96ccb80ce01295c6c539abfb96c62 Mon Sep 17 00:00:00 2001 From: mderezynski Date: Tue, 23 May 2006 09:16:08 +0000 Subject: [PATCH] * Use hardcoded sample string for font preview instead of the string from the configuration --- src/widgets/toolbox.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index e67c39cc1..3d33a972d 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -3265,11 +3265,10 @@ namespace { char *family, *family_escaped, *sample_escaped; - const char *sample; - gtk_tree_model_get (tree_model, iter, 0, &family, -1); + static const char *sample = _("AaBbCcIiPpQq12369$\342\202\254\302\242?.;/()"); - sample = prefs_get_string_attribute ("tools.text", "font_sample"); + gtk_tree_model_get (tree_model, iter, 0, &family, -1); family_escaped = g_markup_escape_text (family, -1); sample_escaped = g_markup_escape_text (sample, -1); -- 2.30.2