Commit ade83b1
draw solid color in empty tabs
Changed files (2)
Diff
@@ -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+}@@ -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;