[gtk/wip/otte/listmodel: 8/10] inspector: Add an icon to the render node list
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/listmodel: 8/10] inspector: Add an icon to the render node list
- Date: Wed, 12 Sep 2018 11:55:13 +0000 (UTC)
commit d0d850e64653c15e95bc5928d53efba628c570fb
Author: Benjamin Otte <otte redhat com>
Date: Wed Sep 5 06:34:03 2018 +0200
inspector: Add an icon to the render node list
gtk/inspector/recorder.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c
index c136758af0..8c27ccc8d8 100644
--- a/gtk/inspector/recorder.c
+++ b/gtk/inspector/recorder.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]