forked from AuroraMiddleware/gtk
inspector: Add an icon to the render node list
This commit is contained in:
parent
aba76fe8e9
commit
4495eaae84
@ -345,6 +345,11 @@ create_widget_for_render_node (gpointer row_item,
|
|||||||
}
|
}
|
||||||
gtk_container_add (GTK_CONTAINER (box), child);
|
gtk_container_add (GTK_CONTAINER (box), child);
|
||||||
|
|
||||||
|
/* icon */
|
||||||
|
child = gtk_image_new_from_paintable (paintable);
|
||||||
|
gtk_container_add (GTK_CONTAINER (box), child);
|
||||||
|
|
||||||
|
/* name */
|
||||||
name = node_name (node);
|
name = node_name (node);
|
||||||
child = gtk_label_new (name);
|
child = gtk_label_new (name);
|
||||||
g_free (name);
|
g_free (name);
|
||||||
|
Loading…
Reference in New Issue
Block a user