diff options
| author | Milosz Derezynski <mderezynski@gmail.com> | 2006-05-23 09:16:08 +0000 |
|---|---|---|
| committer | mderezynski <mderezynski@users.sourceforge.net> | 2006-05-23 09:16:08 +0000 |
| commit | 8f6ebd80d27e097da06b5fad0966f6b1954e67bc (patch) | |
| tree | 88131b002f808a7ba64121a1f8656cd8b60f50ce /src/widgets/toolbox.cpp | |
| parent | make loop var unsigned etc, remove compiler warnings (diff) | |
| download | inkscape-8f6ebd80d27e097da06b5fad0966f6b1954e67bc.tar.gz inkscape-8f6ebd80d27e097da06b5fad0966f6b1954e67bc.zip | |
* Use hardcoded sample string for font preview instead of the string from the configuration
(bzr r975)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 5 |
1 files 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); |
