Clone in a terminal:
Commit ade83b1
Johan Mattsson - 2013-09-11T21:10:02+00:00
ade83b12000c3aeae64292d9975c3cb7da78f66ejohan.mattsson.m@gmail.com

draw solid color in empty tabs

Changed files (2)

Diff

diff --git a/libbirdfont/EmptyTab.vala b/libbirdfont/EmptyTab.valaindex 2fe31fd..caae8ef 100644--- a/libbirdfont/EmptyTab.vala+++ b/libbirdfont/EmptyTab.vala@@ -33,6 +33,14 @@ public class EmptyTab : FontDisplay { 	public override string get_label () { 		return label; 	}++	public override void draw (WidgetAllocation allocation, Context cr) {+		cr.save ();+		cr.set_source_rgba (242/255.0, 241/255.0, 240/255.0, 1);+		cr.rectangle (0, 0, allocation.width, allocation.height);+		cr.fill ();+		cr.restore ();+	}	 } -}\ No newline at end of file+}diff --git a/libbirdfont/FileTab.vala b/libbirdfont/FileTab.valaindex a4150fb..38b50e2 100644--- a/libbirdfont/FileTab.vala+++ b/libbirdfont/FileTab.vala@@ -222,7 +222,7 @@ public class FileTab : FontDisplay { 		}  		cr.restore ();-	}	+	}  	private void draw_file_row (WidgetAllocation allocation, Context cr, Font font, bool color, double y) { 		File thumbnail;

Contact

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