Philipp Hörist pushed to branch master at gajim / gajim
Commits:
bf8376c5 by Philipp Hörist at 2025-09-06T12:27:01+02:00
cfix: AppSideBar: Show status popover for single account
- - - - -
1 changed file:
- gajim/gtk/app_side_bar.py
Changes:
=====================================
gajim/gtk/app_side_bar.py
=====================================
@@ -152,17 +152,18 @@ def _on_account_button_press(
y: float,
) -> int:
- accounts = app.settings.get_active_accounts()
- if len(accounts) == 1:
- app.window.show_account_page(accounts[0])
- self._bottom_listbox.select_row(self._account_row)
- return Gdk.EVENT_PROPAGATE
-
current_button = gesture_click.get_current_button()
if current_button == Gdk.BUTTON_PRIMARY:
# Left click
+
self._status_popover.popdown()
- self._account_popover.popup()
+
+ accounts = app.settings.get_active_accounts()
+ if len(accounts) == 1:
+ app.window.show_account_page(accounts[0])
+ self._bottom_listbox.select_row(self._account_row)
+ else:
+ self._account_popover.popup()
return Gdk.EVENT_PROPAGATE
if current_button == Gdk.BUTTON_SECONDARY:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/bf8376c5163f8ec6cfbfee61a2fc0104a0e4ecbf
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/bf8376c5163f8ec6cfbfee61a2fc0104a0e4ecbf
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]