summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec4f584)
raw | patch | inline | side by side (parent: ec4f584)
author | mderezynski <mderezynski@users.sourceforge.net> | |
Tue, 23 May 2006 09:16:08 +0000 (09:16 +0000) | ||
committer | mderezynski <mderezynski@users.sourceforge.net> | |
Tue, 23 May 2006 09:16:08 +0000 (09:16 +0000) |
src/widgets/toolbox.cpp | patch | blob | history |
index e67c39cc1155fecc153b381954f3585f66b0f714..3d33a972d993d0f7f3a15d6aeaab8e2898332ffb 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
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);