Daniel Brötzmann pushed to branch gtk4 at gajim / gajim
Commits:
6c4b2915 by wurstsalat at 2024-10-31T12:11:44+01:00
refactor: ConversationView: Add workaround for showing ne message rows
- - - - -
1 changed file:
- gajim/gtk/conversation/view.py
Changes:
=====================================
gajim/gtk/conversation/view.py
=====================================
@@ -547,6 +547,10 @@ def add_message_from_db(self, message: Message) -> None:
def _insert_message(self, message: BaseRow) -> None:
self._list_box.append(message)
+
+ # TODO: This is a workaround to make the scrolledwindow aware of the
new row
+ GLib.idle_add(message.queue_resize)
+
self._add_date_row(message.timestamp)
self._check_for_merge(message)
assert self._read_marker_row is not None
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/6c4b2915c9a104723c512cedf0de792237d166a8
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/6c4b2915c9a104723c512cedf0de792237d166a8
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]