Lines 473-481
Link Here
|
473 |
String (SCIM_TOMOE_CONFIG_UNICODE_TABLE_FONT_DEFAULT)); |
473 |
String (SCIM_TOMOE_CONFIG_UNICODE_TABLE_FONT_DEFAULT)); |
474 |
|
474 |
|
475 |
if (font.length() > 0) { |
475 |
if (font.length() > 0) { |
476 |
gucharmap_charmap_set_font (charmap, font.c_str ()); |
476 |
gucharmap_charmap_set_font_desc (charmap, pango_font_description_from_string(font.c_str ())); |
477 |
} else { |
477 |
} else { |
478 |
gucharmap_charmap_set_font (charmap, NULL); |
478 |
gucharmap_charmap_set_font_desc (charmap, pango_font_description_from_string(NULL)); |
479 |
set_default_font (prefs, SCIM_TOMOE_CONFIG_CAND_FONT, |
479 |
set_default_font (prefs, SCIM_TOMOE_CONFIG_CAND_FONT, |
480 |
GTK_WIDGET (charmap)); |
480 |
GTK_WIDGET (charmap)); |
481 |
} |
481 |
} |