From 55dfb81db39cf4a0885a5916c43390e5aa9965f4 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 16 May 2019 19:17:37 -0700 Subject: [PATCH] libsysprof-ui: allow text to be selectable --- src/libsysprof-ui/sysprof-capture-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libsysprof-ui/sysprof-capture-view.c b/src/libsysprof-ui/sysprof-capture-view.c index a97314f4..8d2a36d9 100644 --- a/src/libsysprof-ui/sysprof-capture-view.c +++ b/src/libsysprof-ui/sysprof-capture-view.c @@ -155,6 +155,7 @@ add_marks_to_details (SysprofCaptureView *self) continue; left_label = g_object_new (GTK_TYPE_LABEL, + "selectable", TRUE, "visible", TRUE, "xalign", 1.0f, "label", st->name, @@ -170,6 +171,7 @@ add_marks_to_details (SysprofCaptureView *self) st->avg / (gdouble)NSEC_PER_SEC); center_label = g_object_new (GTK_TYPE_LABEL, "label", str, + "selectable", TRUE, "use-markup", TRUE, "visible", TRUE, "xalign", 0.0f,