The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Suppress keyboard input when command key is down

These changes was commited to the Birdfont repository Fri, 16 Oct 2015 13:03:10 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Fri, 16 Oct 2015 13:03:10 +0000]

Updated Files

libbirdfont/ExportTool.vala
libbirdfont/Renderer/TextArea.vala
--- a/libbirdfont/ExportTool.vala +++ b/libbirdfont/ExportTool.vala @@ -196,8 +196,13 @@ public static void generate_html_document (string html_file, Font font) { File file = File.new_for_path (html_file); DataOutputStream os; - string name = ExportSettings.get_file_name (font); + string name; + #if MAC + name = ExportSettings.get_file_name_mac (font); + #else + name = ExportSettings.get_file_name (font); + #endif try { os = new DataOutputStream (file.create(FileCreateFlags.REPLACE_DESTINATION));
--- a/libbirdfont/Renderer/TextArea.vala +++ b/libbirdfont/Renderer/TextArea.vala @@ -240,7 +240,7 @@ text_changed (get_text ()); break; default: - if (!KeyBindings.has_ctrl ()) { + if (!KeyBindings.has_ctrl () && !KeyBindings.has_logo ()) { add_character (keyval); } break;