The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Merge branch '2.x' of github.com:johanmattssonm/birdfont into 2.x

These changes was commited to the Birdfont repository Mon, 19 Sep 2016 18:59:36 +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>
Mon, 19 Sep 2016 18:59:36 +0000 (20:59 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 19 Sep 2016 18:59:36 +0000 (20:59 +0200)
commit 6c3def2a7987ffae855109b0d414893242ec7670
tree c8d0c5980ac3d7f100661de2d2faffbdec7c1e59
parent 0722c92ce4f6bea5807ea8989ce15acd9ee0d233
parent bf840ced38d4a6b10ee020e801b2e88e565d905c
Merge branch '2.x' of github.com:johanmattssonm/birdfont into 2.x

libbirdfont/OtfFeatureTable.vala
scripts/version.py
--- a/libbirdfont/OtfFeatureTable.vala +++ b/libbirdfont/OtfFeatureTable.vala @@ -33,10 +33,25 @@ Gee.ArrayList<AlternateItem> undo_items; // FIXME: implement redo + + bool ignore_input = false; public OtfFeatureTable (GlyphCollection? gc) { glyph_collection = gc; undo_items = new Gee.ArrayList<AlternateItem> (); + } + + public override void selected_canvas () { + ignore_input = true; // make sure that tripple clicks in overview are ignored + + TimeoutSource input_delay = new TimeoutSource (250); + input_delay.set_callback(() => { + ignore_input = false; + return false; + }); + input_delay.attach (null); + + base.selected_canvas (); } public override Gee.ArrayList<Row> get_rows () { @@ -48,6 +63,10 @@ Object o; String s; AlternateItem a; + + if (ignore_input) { + return; + } if (row_index == SOURCE_GLYPH) { GlyphSelection gs = new GlyphSelection ();
--- a/scripts/version.py +++ b/scripts/version.py @@ -13,7 +13,7 @@ Lesser General Public License for more details. """ - VERSION = '2.16.6' + VERSION = '2.16.7' SO_VERSION_MAJOR = '36' SO_VERSION_MINOR = '0' SO_VERSION = SO_VERSION_MAJOR + '.' + SO_VERSION_MINOR