<column type="gchararray"/>
<!-- column-name resource -->
<column type="gchararray"/>
- <!-- column-name allow_deny -->
+ <!-- column-name allow_deny_stock_pixbuf -->
<column type="gchararray"/>
</columns>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn4">
+ <property name="sizing">autosize</property>
<property name="title">Allow/Deny</property>
+ <property name="expand">True</property>
<property name="clickable">True</property>
+ <property name="alignment">0.5</property>
<property name="sort_column_id">3</property>
<child>
- <object class="GtkCellRendererText" id="cellrenderertext5"/>
+ <object class="GtkCellRendererPixbuf" id="cellrenderertext5"/>
<attributes>
- <attribute name="text">3</attribute>
+ <attribute name="stock-id">3</attribute>
</attributes>
</child>
</object>
COL_ID, g_value_get_int (gda_data_model_get_value_at (dm, 0, row, NULL)),
COL_ROLE, gda_value_stringify (gda_data_model_get_value_at (dm, 1, row, NULL)),
COL_RESOURCE, gda_value_stringify (gda_data_model_get_value_at (dm, 2, row, NULL)),
- COL_TYPE, gda_value_stringify (gda_data_model_get_value_at (dm, 3, row, NULL)),
+ COL_TYPE, g_value_get_int (gda_data_model_get_value_at (dm, 3, row, NULL)) == 1 ? "gtk-yes" : "gtk-no",
-1);
}