]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Visually distinguish charset headings in GTK3 unifontsel.
authorSimon Tatham <anakin@pobox.com>
Sat, 26 Sep 2015 09:42:02 +0000 (10:42 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 26 Sep 2015 10:30:59 +0000 (11:30 +0100)
commit3c7557dcd00819a28585c372da3f16b8c5f131f8
treef55b342c22a9703d0d7fbccdd18fd181b5ef2997
parent854fae843b4b524208a5635ce7c2500ecaff3bbc
Visually distinguish charset headings in GTK3 unifontsel.

When displaying a server-side font, the unified font selector's
font-style list box contains some lines which are character-set
headings, and others which are actually selectable font styles. We tag
the former with the "sensitive"=FALSE attribute, to prevent them from
responding to clicks. In GTK2, this also made them visually distinct
from the normal lines, by greying them out; in GTK3 it makes no visual
difference.

The simplest solution is to bold those lines, hinting that they're
sort of section headings. That looks OK in GTK2 as well, so I've done
it unconditionally.
unix/gtkfont.c