From 8f6ebd80d27e097da06b5fad0966f6b1954e67bc Mon Sep 17 00:00:00 2001 From: Milosz Derezynski Date: Tue, 23 May 2006 09:16:08 +0000 Subject: * Use hardcoded sample string for font preview instead of the string from the configuration (bzr r975) --- src/widgets/toolbox.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/widgets/toolbox.cpp') 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); -- cgit v1.2.3