Philipp Hörist pushed to branch gtk4 at gajim / gajim
Commits:
3482d115 by Philipp Hörist at 2024-11-04T20:04:23+01:00
fix: Fix function page todo
- - - - -
1 changed file:
- gajim/gtk/chat_function_page.py
Changes:
=====================================
gajim/gtk/chat_function_page.py
=====================================
@@ -90,7 +90,6 @@ def __init__(self) -> None:
self._connect(self._forget_button, 'clicked', self._on_forget_clicked)
self._confirm_button = Gtk.Button()
- # self._confirm_button.set_can_default(True) TODO GTK4
self._connect(self._confirm_button, 'clicked',
self._on_confirm_clicked)
button_box = Gtk.Box(spacing=18, halign=Gtk.Align.CENTER)
@@ -161,6 +160,7 @@ def set_mode(self,
self._widget.set_size_request(-1, 500)
self._connect(self._widget, 'listbox-changed', self._on_ready)
self._widget.load_contacts()
+ self._widget.grab_focus()
elif mode == FunctionMode.SEND_FILE:
self._confirm_button.set_label(_('Send Files'))
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/3482d115aadf83f9772683e9f3102abe96987264
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/3482d115aadf83f9772683e9f3102abe96987264
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]