The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Empty tables

These changes was commited to the Birdfont repository Fri, 24 Apr 2015 18:25:54 +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, 24 Apr 2015 18:25:54 +0000]

Updated Files

libbirdfont/KerningList.vala
libbirdfont/RecentFiles.vala
--- a/libbirdfont/KerningList.vala +++ b/libbirdfont/KerningList.vala @@ -52,6 +52,10 @@ }); rows.insert (0, new Row.headline (t_("Kerning Pairs"))); + + if (rows.size == 1) { + rows.insert (1, new Row.columns_1 (t_("No kerning pairs created."), 0, false)); + } return rows; }
--- a/libbirdfont/RecentFiles.vala +++ b/libbirdfont/RecentFiles.vala @@ -59,13 +59,16 @@ rows.clear (); if (recent_fonts.size == 0) { + row = new Row.headline (t_("No fonts created yet")); + rows.add (row); + row = new Row.columns_1 (t_("Create a New Font"), NEW_FONT, false); rows.add (row); } if (current_font.font_file != null) { row = new Row.headline (current_font.get_file_name ()); - rows.add (row); + rows.add (row); row = new Row.columns_1 (t_("Folder") + ": " + (!) current_font.get_folder ().get_path (), CURRENT_FONT, false); rows.add (row);