Philipp Hörist pushed to branch gtk4 at gajim / gajim
Commits:
4395f5e8 by Philipp Hörist at 2024-11-04T20:29:58+01:00
fix: Fix dataform todo
- - - - -
1 changed file:
- gajim/gtk/dataform.py
Changes:
=====================================
gajim/gtk/dataform.py
=====================================
@@ -117,9 +117,10 @@ def focus_first_entry(self) -> None:
widget.grab_focus_without_selecting()
break
- def _on_form_completed(self, *_args) -> None:
- # TODO GTK4
- self.get_toplevel().activate_default()
+ def _on_form_completed(self, *_args: Any) -> None:
+ window = cast(Gtk.Window, self.get_root())
+ assert window is not None
+ window.activate_default()
class FormGrid(Gtk.Grid, SignalManager):
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/4395f5e85828105a2d7a87eb0a393d4a294edc9e
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/4395f5e85828105a2d7a87eb0a393d4a294edc9e
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]