From 6bfa70fc7045669be435d3757456e1da7d341927 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 29 Jul 2022 19:54:54 +0200 Subject: Disable tooltips for GTK 4.6.4 - 4.6.6 A bug in GTK caused the application to crash in some tooltip-related conditions https://gitlab.gnome.org/GNOME/gtk/-/issues/4941 --- main/src/ui/add_conversation/list_row.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src/ui/add_conversation') diff --git a/main/src/ui/add_conversation/list_row.vala b/main/src/ui/add_conversation/list_row.vala index a25ecbd3..5b3ec49a 100644 --- a/main/src/ui/add_conversation/list_row.vala +++ b/main/src/ui/add_conversation/list_row.vala @@ -37,8 +37,8 @@ public class ListRow : Widget { string display_name = Util.get_conversation_display_name(stream_interactor, conv); if (show_account && stream_interactor.get_accounts().size > 1) { via_label.label = @"via $(account.bare_jid)"; - this.has_tooltip = true; - set_tooltip_text(jid.to_string()); + this.has_tooltip = Util.use_tooltips(); + set_tooltip_text(Util.string_if_tooltips_active(jid.to_string())); } else if (display_name != jid.bare_jid.to_string()){ via_label.label = jid.bare_jid.to_string(); } else { -- cgit v1.2.3-70-g09d2