Code

* Use hardcoded sample string for font preview instead of the string from the configu...
authormderezynski <mderezynski@users.sourceforge.net>
Tue, 23 May 2006 09:16:08 +0000 (09:16 +0000)
committermderezynski <mderezynski@users.sourceforge.net>
Tue, 23 May 2006 09:16:08 +0000 (09:16 +0000)
src/widgets/toolbox.cpp

index e67c39cc1155fecc153b381954f3585f66b0f714..3d33a972d993d0f7f3a15d6aeaab8e2898332ffb 100644 (file)
@@ -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);