Inspector: Show directory sizes in the resource tab

This is makes it easy to answer the question: how much do resources
cost. It turns out that all the resources in GTK+ currently weigh
around 1MB.
This commit is contained in:
Matthias Clasen
2014-07-19 01:20:28 -04:00
parent a9201b8379
commit ea9026e3a0
2 changed files with 86 additions and 7 deletions

View File

@ -4,6 +4,8 @@
<columns>
<column type="gchararray"/>
<column type="gchararray"/>
<column type="gint"/>
<column type="guint64"/>
</columns>
</object>
<object class="GtkTextBuffer" id="buffer">
@ -55,7 +57,7 @@
<property name="column-spacing">10</property>
<property name="margin">20</property>
<child>
<object class="GtkLabel">
<object class="GtkLabel" id="type">
<property name="visible">True</property>
<property name="label" translatable="yes">Type:</property>
<property name="halign">end</property>
@ -77,6 +79,29 @@
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="count">
<property name="visible">True</property>
<property name="label" translatable="yes">Count:</property>
<property name="halign">end</property>
<property name="valign">baseline</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="count_label">
<property name="visible">True</property>
<property name="halign">start</property>
<property name="valign">baseline</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
@ -86,7 +111,7 @@
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
@ -97,7 +122,7 @@
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
</object>