Philipp Hörist pushed to branch jump at gajim / gajim
Commits:
af66f3b8 by Philipp Hörist at 2026-04-12T20:50:29+02:00
Fix autoscroll
- - - - -
1 changed file:
- gajim/gtk/conversation/view.py
Changes:
=====================================
gajim/gtk/conversation/view.py
=====================================
@@ -118,7 +118,6 @@ def __init__(
self._current_upper: float = 0
self._autoscroll: bool = True
- self._at_bottom = True
self._request_history_at_upper: float | None = None
self._upper_complete: bool = False
self._lower_complete: bool = True
@@ -150,7 +149,7 @@ def __init__(
flags=GObject.ParamFlags.READABLE | GObject.ParamFlags.EXPLICIT_NOTIFY,
)
def at_bottom(self) -> bool:
- return self._at_bottom
+ return self._autoscroll
def _on_register_actions(self, _event: events.RegisterActions) -> None:
app.window.get_action("scroll-view-up").connect(
@@ -296,7 +295,6 @@ def _reset_list_box(self) -> None:
def _reset(self) -> None:
self._current_upper = 0
self._autoscroll = True
- self._at_bottom = True
self._request_history_at_upper = None
self._upper_complete = False
self._lower_complete = True
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/af66f3b8bf8ca291a797b6fb0250a7278cb3caac
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/af66f3b8bf8ca291a797b6fb0250a7278cb3caac
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]