[gtk/wip/otte/listmodel: 12/13] 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: 12/13] inspector: Add an icon to the render node list
- Date: Wed, 12 Sep 2018 11:55:53 +0000 (UTC)
commit 5b407b15b37155530069632ecb1306bfc19d9484
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]