diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/baobab-cellrenderers.vala | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/baobab-cellrenderers.vala b/src/baobab-cellrenderers.vala index c7580bc..9b16b19 100644 --- a/src/baobab-cellrenderers.vala +++ b/src/baobab-cellrenderers.vala @@ -108,7 +108,15 @@ namespace Baobab { } - public class CellRendererSize : Gtk.CellRendererText { + public class CellRendererTabular : Gtk.CellRendererText { + construct { + var attrs = new Pango.AttrList(); + attrs.insert (new Pango.AttrFontFeatures ("tnum=1")); + attributes = attrs; + } + } + + public class CellRendererSize : CellRendererTabular { public Scanner.State state { set; get; } public new uint64 size { @@ -118,7 +126,7 @@ namespace Baobab { } } - public class CellRendererItems : Gtk.CellRendererText { + public class CellRendererItems : CellRendererTabular { public Scanner.State state { set; get; } public int items { |