The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Put text under kerning label

Changes made to libbirdfont/MenuTab.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/MenuTab.vala +++ libbirdfont/MenuTab.vala @@ -438,16 +438,31 @@ } public static void save_as () { + if (MenuTab.suppress_event) { + warn_if_test ("Event suppressed"); + return; + } + MenuTab.set_save_callback (new SaveCallback ()); MenuTab.save_callback.save_as(); } public static void save () { + if (MenuTab.suppress_event) { + warn_if_test ("Event suppressed"); + return; + } + MenuTab.set_save_callback (new SaveCallback ()); MenuTab.save_callback.save (); } public static void load () { + if (MenuTab.suppress_event) { + warn_if_test ("Event suppressed"); + return; + } + MenuTab.load_callback = new LoadCallback (); MenuTab.load_callback.load (); }