From: mderezynski Date: Tue, 23 May 2006 09:16:08 +0000 (+0000) Subject: * Use hardcoded sample string for font preview instead of the string from the configu... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bb2de06694a96ccb80ce01295c6c539abfb96c62;p=inkscape.git * Use hardcoded sample string for font preview instead of the string from the configuration --- 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);