Daniel Brötzmann pushed to branch gtk4 at gajim / gajim


Commits:
40c8df69 by wurstsalat at 2024-10-17T20:41:53+02:00
cfix: Settings: Add missing word wrap for sub description

- - - - -
8b04b411 by wurstsalat at 2024-10-18T22:01:02+02:00
fix: ChatStack: Disable focus grab for Message Input

- - - - -


2 changed files:

- gajim/gtk/chat_stack.py
- gajim/gtk/settings.py


Changes:

=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -250,7 +250,8 @@ def show_chat(self, account: str, jid: JID) -> None:
         #                   old_primary_clipboard,
         #                   -1)
 
-        GLib.idle_add(self._message_action_box.msg_textview.grab_focus)
+        # TODO GTK4: This creates a loop raising CPU load
+        # GLib.idle_add(self._message_action_box.msg_textview.grab_focus)
 
     def _on_room_password_required(self,
                                    _contact: GroupchatContact,


=====================================
gajim/gtk/settings.py
=====================================
@@ -228,7 +228,7 @@ def __init__(self,
             description.set_halign(Gtk.Align.START)
             description.set_valign(Gtk.Align.CENTER)
             description.set_xalign(0)
-            description.set_wrap_mode(Pango.WrapMode.WORD)
+            description.set_wrap(True)
             description.set_wrap_mode(Pango.WrapMode.WORD)
             description.set_max_width_chars(50)
             description_box.append(description)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/d9f2bb6453f5f8b050f83d709077207c78546fb4...8b04b4116f1e876f75315cf951c663bf6700df09

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/d9f2bb6453f5f8b050f83d709077207c78546fb4...8b04b4116f1e876f75315cf951c663bf6700df09
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]

Reply via email to