Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
da84ac3f by wurstsalat at 2023-03-26T20:52:57+02:00
fix: ChatActionProcessor: Fix inserting emojis by click
Fixes #11445
- - - - -
1 changed file:
- gajim/gtk/chat_action_processor.py
Changes:
=====================================
gajim/gtk/chat_action_processor.py
=====================================
@@ -107,7 +107,9 @@ def _on_key_press(self,
return False
def _on_focus_out(self, *args: Any) -> bool:
- self.popdown()
+ # Add 100 ms timeout in order to process potential menu item click
+ # events (which will emit focus-out-event on the message input)
+ GLib.timeout_add(100, self.popdown)
return False
def _on_popover_closed(self, _popover: Gtk.Popover) -> None:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/da84ac3fac795d585930e38a940a58b072325a37
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/da84ac3fac795d585930e38a940a58b072325a37
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits