[sysprof/wip/chergert/sysprof-3] libsysprof-ui: allow text to be selectable
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof-ui: allow text to be selectable
- Date: Fri, 17 May 2019 02:17:48 +0000 (UTC)
commit 7a2d5cc79e611d814aeadd4632a2e518fc379fb7
Author: Christian Hergert <chergert redhat com>
Date: Thu May 16 19:17:37 2019 -0700
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 a97314f..8d2a36d 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]