[gnome-builder/gnome-builder-43] libide/gui: disable selections in marked view
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-43] libide/gui: disable selections in marked view
- Date: Thu, 22 Sep 2022 03:21:28 +0000 (UTC)
commit 110c6a76868e5c53c2eca711de8daae49f45bec2
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 21 20:21:03 2022 -0700
libide/gui: disable selections in marked view
This is causing issues with the hover provider, so the safest fix for the
time being is to disable selection.
Related #1801
src/libide/gui/ide-marked-view.c | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/src/libide/gui/ide-marked-view.c b/src/libide/gui/ide-marked-view.c
index 35417ef73..336ec4ce6 100644
--- a/src/libide/gui/ide-marked-view.c
+++ b/src/libide/gui/ide-marked-view.c
@@ -394,7 +394,14 @@ ide_marked_view_new (IdeMarkedContent *content)
g_autofree char *markup_nul_terminated = g_strndup (markup, markup_len);
child = g_object_new (GTK_TYPE_LABEL,
"max-width-chars", 80,
+#if 0
+ /* This is causing issues if users right click to display
+ * the popover which cannot be recovered from. We'll have
+ * to figure out the right way to handle that if we want to
+ * reenable this.
+ */
"selectable", TRUE,
+#endif
"wrap", TRUE,
"xalign", 0.0f,
"visible", TRUE,
@@ -426,7 +433,10 @@ ide_marked_view_new (IdeMarkedContent *content)
if (parsed != NULL)
child = g_object_new (GTK_TYPE_LABEL,
"max-width-chars", 80,
+#if 0
+ /* See comment above */
"selectable", TRUE,
+#endif
"wrap", TRUE,
"xalign", 0.0f,
"visible", TRUE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]