The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix search in overview

These changes was commited to the Birdfont repository Sun, 02 Dec 2018 14:37:39 +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>
Sun, 02 Dec 2018 14:37:39 +0000 (15:37 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 02 Dec 2018 14:37:39 +0000 (15:37 +0100)
commit 1bc8c82a8886a0f29fc6ceb7a03459f2dbcbd24a
tree 4319cde3d094d1e047574c4ceb279864c339fa86
parent d7038afd595b1472ca781c48b13504d39b11d2d4
Fix search in overview

libbirdfont/OverView.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -273,6 +273,14 @@ OverView o = MainWindow.get_overview (); string q = o.search_query; + if (q == "*") { + q = "star"; + } + + if (q == "?") { + q = "question"; + } + if (q.char_count () > 1) { q = q.down (); }