The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Display name for ligatures in overview

These changes was commited to the Birdfont repository Thu, 23 Nov 2017 16:46:15 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 23 Nov 2017 16:46:15 +0000 (17:46 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 23 Nov 2017 16:46:15 +0000 (17:46 +0100)
commit 7baf35ab4a51f6502d866f1dd7b7ea2b3fd79d20
tree 19ba77bb6325be4d255bc07c48da477ec8ce7a5d
parent a6a6f407e42ee8ff8256a0a08d42e7f468b0b22a
Display name for ligatures in overview

libbirdfont/OverViewItem.vala
--- a/libbirdfont/OverViewItem.vala +++ b/libbirdfont/OverViewItem.vala @@ -77,7 +77,12 @@ if (glyphs == null) { label = new Text (); } else { - label = new Text ((!) character.to_string (), 17); + if (character != '\0') { + label = new Text ((!) character.to_string (), 17); + } else { + label = new Text ((!) info.get_name (), 17); + } + truncate_label (); }