From ac67a77f6d096ca3a2483bd6e4ab7b55ea7a2f57 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 27 Mar 2024 00:21:14 +0800 Subject: [PATCH] src/Builder4/Editor.bjs src/Builder4/Editor.vala --- src/Builder4/Editor.bjs | 1 + src/Builder4/Editor.vala | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Builder4/Editor.bjs b/src/Builder4/Editor.bjs index f56913cd4..0227eba72 100644 --- a/src/Builder4/Editor.bjs +++ b/src/Builder4/Editor.bjs @@ -71,6 +71,7 @@ "listeners" : { "query_tooltip" : [ "(x, y, keyboard_tooltip, tooltip) => {", + "\tGLib.debug(\"using quiery tooltip?\");", "\tvar lbl = new Gtk.Label(this.el.tooltip_markup);", "\tlbl.width_request = 700;", "\ttooltip.set_custom(lbl);", diff --git a/src/Builder4/Editor.vala b/src/Builder4/Editor.vala index c6455ab42..5a15f6ff7 100644 --- a/src/Builder4/Editor.vala +++ b/src/Builder4/Editor.vala @@ -552,6 +552,7 @@ public class Editor : Object //listeners this.el.query_tooltip.connect( (x, y, keyboard_tooltip, tooltip) => { + GLib.debug("using quiery tooltip?"); var lbl = new Gtk.Label(this.el.tooltip_markup); lbl.width_request = 700; tooltip.set_custom(lbl); -- 2.39.2