aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-07-29 19:54:54 +0200
committerfiaxh <git@lightrise.org>2022-08-20 21:09:42 +0200
commit6bfa70fc7045669be435d3757456e1da7d341927 (patch)
treecf33f0f6343cdb32e2e20829203c5cdd71a60997 /main/src/ui/chat_input
parent517363dfc9dab81c4b59310c739bcf71266fabe0 (diff)
downloaddino-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/chat_input')
-rw-r--r--main/src/ui/chat_input/view.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/ui/chat_input/view.vala b/main/src/ui/chat_input/view.vala
index 81f2bd0f..3de060c6 100644
--- a/main/src/ui/chat_input/view.vala
+++ b/main/src/ui/chat_input/view.vala
@@ -41,6 +41,8 @@ public class View : Box {
});
emoji_button.set_popover(chooser);
+ file_button.tooltip_text = Util.string_if_tooltips_active(_("Send a file"));
+
Util.force_css(frame, "* { border-radius: 3px; }");
return this;