inspector: Drop type name from node list
It's not used anymore in the CSS, so people don't need to see it.
This commit is contained in:
parent
0c12601208
commit
fe6d4cbdf5
@ -47,7 +47,6 @@
|
||||
|
||||
enum {
|
||||
COLUMN_NODE_NAME,
|
||||
COLUMN_NODE_TYPE,
|
||||
COLUMN_NODE_VISIBLE,
|
||||
COLUMN_NODE_CLASSES,
|
||||
COLUMN_NODE_ID,
|
||||
@ -414,10 +413,6 @@ gtk_inspector_css_node_tree_get_node_value (GtkTreeModelCssNode *model,
|
||||
g_value_set_string (value, gtk_css_node_get_name (node));
|
||||
break;
|
||||
|
||||
case COLUMN_NODE_TYPE:
|
||||
g_value_set_string (value, g_type_name (gtk_css_node_get_widget_type (node)));
|
||||
break;
|
||||
|
||||
case COLUMN_NODE_VISIBLE:
|
||||
g_value_set_boolean (value, gtk_css_node_get_visible (node));
|
||||
break;
|
||||
@ -457,7 +452,6 @@ gtk_inspector_css_node_tree_init (GtkInspectorCssNodeTree *cnt)
|
||||
priv->node_model = gtk_tree_model_css_node_new (gtk_inspector_css_node_tree_get_node_value,
|
||||
N_NODE_COLUMNS,
|
||||
G_TYPE_STRING,
|
||||
G_TYPE_STRING,
|
||||
G_TYPE_BOOLEAN,
|
||||
G_TYPE_STRING,
|
||||
G_TYPE_STRING,
|
||||
|
@ -5,7 +5,6 @@
|
||||
<column type="gchararray"/>
|
||||
<column type="gchararray"/>
|
||||
<column type="gchararray"/>
|
||||
<column type="gchararray"/>
|
||||
<column type="gint"/>
|
||||
</columns>
|
||||
</object>
|
||||
@ -88,19 +87,6 @@
|
||||
<signal name="changed" handler="selection_changed"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkTreeViewColumn">
|
||||
<property name="resizable">1</property>
|
||||
<property name="title" translatable="yes">Type</property>
|
||||
<child>
|
||||
<object class="GtkCellRendererText"/>
|
||||
<attributes>
|
||||
<attribute name="text">1</attribute>
|
||||
<attribute name="sensitive">2</attribute>
|
||||
</attributes>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkTreeViewColumn" id="node_name_column">
|
||||
<property name="resizable">1</property>
|
||||
@ -109,7 +95,7 @@
|
||||
<object class="GtkCellRendererText"/>
|
||||
<attributes>
|
||||
<attribute name="text">0</attribute>
|
||||
<attribute name="sensitive">2</attribute>
|
||||
<attribute name="sensitive">1</attribute>
|
||||
</attributes>
|
||||
</child>
|
||||
</object>
|
||||
@ -121,8 +107,8 @@
|
||||
<child>
|
||||
<object class="GtkCellRendererText"/>
|
||||
<attributes>
|
||||
<attribute name="text">4</attribute>
|
||||
<attribute name="sensitive">2</attribute>
|
||||
<attribute name="text">3</attribute>
|
||||
<attribute name="sensitive">1</attribute>
|
||||
</attributes>
|
||||
</child>
|
||||
</object>
|
||||
@ -134,8 +120,8 @@
|
||||
<child>
|
||||
<object class="GtkCellRendererText"/>
|
||||
<attributes>
|
||||
<attribute name="text">3</attribute>
|
||||
<attribute name="sensitive">2</attribute>
|
||||
<attribute name="text">2</attribute>
|
||||
<attribute name="sensitive">1</attribute>
|
||||
</attributes>
|
||||
</child>
|
||||
</object>
|
||||
@ -147,8 +133,8 @@
|
||||
<child>
|
||||
<object class="GtkCellRendererText"/>
|
||||
<attributes>
|
||||
<attribute name="text">5</attribute>
|
||||
<attribute name="sensitive">2</attribute>
|
||||
<attribute name="text">4</attribute>
|
||||
<attribute name="sensitive">1</attribute>
|
||||
</attributes>
|
||||
</child>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user