diff options
author | fiaxh <git@lightrise.org> | 2022-07-29 19:54:54 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-08-20 21:09:42 +0200 |
commit | 6bfa70fc7045669be435d3757456e1da7d341927 (patch) | |
tree | cf33f0f6343cdb32e2e20829203c5cdd71a60997 /main/src/ui/conversation_selector | |
parent | 517363dfc9dab81c4b59310c739bcf71266fabe0 (diff) | |
download | dino-6bfa70fc7045669be435d3757456e1da7d341927.tar.gz dino-6bfa70fc7045669be435d3757456e1da7d341927.zip |
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
Diffstat (limited to 'main/src/ui/conversation_selector')
-rw-r--r-- | main/src/ui/conversation_selector/conversation_selector_row.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala index 76cbabb3..a2588d9a 100644 --- a/main/src/ui/conversation_selector/conversation_selector_row.vala +++ b/main/src/ui/conversation_selector/conversation_selector_row.vala @@ -70,15 +70,15 @@ public class ConversationSelectorRow : ListBoxRow { // Set tooltip switch (conversation.type_) { case Conversation.Type.CHAT: - has_tooltip = true; + has_tooltip = Util.use_tooltips(); query_tooltip.connect ((x, y, keyboard_tooltip, tooltip) => { - tooltip.set_custom(generate_tooltip()); + tooltip.set_custom(Util.widget_if_tooltips_active(generate_tooltip())); return true; }); break; case Conversation.Type.GROUPCHAT: - has_tooltip = true; - set_tooltip_text(conversation.counterpart.bare_jid.to_string()); + has_tooltip = Util.use_tooltips(); + set_tooltip_text(Util.string_if_tooltips_active(conversation.counterpart.bare_jid.to_string())); break; case Conversation.Type.GROUPCHAT_PM: break; |