The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Show warning message for file name errors

These changes was commited to the Birdfont repository Fri, 26 Jun 2015 09:15:08 +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, 26 Jun 2015 09:15:08 +0000]

Updated Files

libbirdfont/MenuTab.vala
--- a/libbirdfont/MenuTab.vala +++ b/libbirdfont/MenuTab.vala @@ -105,11 +105,13 @@ return false; } + Font current_font = BirdFont.get_current_font (); string ttf_name = ExportSettings.get_file_name (current_font) + ".ttf"; string ttf_name_mac = ExportSettings.get_file_name_mac (current_font) + ".ttf"; + print (@"$ttf_name == $ttf_name_mac"); if (ttf_name == ttf_name_mac) { - warning ("You need to choose a different name for the TTF file with Mac adjustmets."); + MainWindow.show_message ("You need to choose a different name for the TTF file with Mac adjustmets."); ttf_name_mac = ExportSettings.get_file_name_mac (current_font) + " Mac.ttf"; return false; }