Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 243160 | Differences between
and this patch

Collapse All | Expand All

(-)src/scim_tomoe_prefs_widget.cpp.old (-2 / +2 lines)
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
    }

Return to bug 243160