inspector: Add an icon to the render node list

This commit is contained in:
Benjamin Otte 2018-09-05 06:34:03 +02:00
parent aba76fe8e9
commit 4495eaae84

View File

@ -345,6 +345,11 @@ create_widget_for_render_node (gpointer row_item,
}
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);
child = gtk_label_new (name);
g_free (name);