Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5d3fa3e3 by Marc Henning at 2026-09-01T18:59:00+00:00
fix: Main: Only show titlebar if needed
The titlebar can be hidden, but it needs to become visible when the icon to
reveal the sidebar is required. The former logic however, made the titlebar
also visible if the window was wide enough to show the sidebar and the chat.
- - - - -
1 changed file:
- gajim/gtk/main.py
Changes:
=====================================
gajim/gtk/main.py
=====================================
@@ -282,7 +282,6 @@ def _update_navigation(self) -> None:
focus_mode = self._get_focus_mode()
rail_collapsed = self._split_view.get_collapsed()
chat_list_collapsed = self._main_stack.get_chat_list_collapsed()
- collapsed = rail_collapsed or chat_list_collapsed
state = self.get_action("chat-list-visible").get_state()
showing_list = True if state is None else state.get_boolean()
@@ -311,7 +310,7 @@ def _update_navigation(self) -> None:
# Keep the back button reachable even if the user hid the header bar.
if sys.platform not in ("win32", "darwin"):
- if collapsed:
+ if rail_collapsed:
self._header_bar.set_visible(True)
else:
self._header_bar.set_visible(app.settings.get("show_header_bar"))
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/5d3fa3e322719506eb6dea55979c22a95a2ed502
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/5d3fa3e322719506eb6dea55979c22a95a2ed502
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]