Clone in a terminal:
Commit 701b276
Johan Mattsson - 2015-04-24T18:25:54+00:00
701b2767c132979f3377d565d144c20ef5e0245ajohan.mattsson.m@gmail.com

Empty tables

Changed files (2)

Diff

diff --git a/libbirdfont/KerningList.vala b/libbirdfont/KerningList.valaindex 1d14555..0eb4cd1 100644--- a/libbirdfont/KerningList.vala+++ b/libbirdfont/KerningList.vala@@ -53,6 +53,10 @@ public class KerningList : Table {  		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; 	} diff --git a/libbirdfont/RecentFiles.vala b/libbirdfont/RecentFiles.valaindex 9e29898..723d2a0 100644--- a/libbirdfont/RecentFiles.vala+++ b/libbirdfont/RecentFiles.vala@@ -59,13 +59,16 @@ public class RecentFiles : Table { 		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);

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112