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


Commits:
ddc26220 by wurstsalat at 2022-10-23T13:34:40+02:00
fix: Accounts: Use account label for disable confirmation

- - - - -


1 changed file:

- gajim/gtk/accounts.py


Changes:

=====================================
gajim/gtk/accounts.py
=====================================
@@ -573,9 +573,10 @@ def _disable() -> None:
                 not app.get_client(account).state.is_disconnected):
             # Connecting or connected
             window = cast(AccountsWindow, get_app_window('AccountsWindow'))
+            account_label = app.get_account_label(account)
             ConfirmationDialog(
                 _('Disable Account'),
-                _('Account %s is still connected') % account,
+                _('Account %s is still connected') % account_label,
                 _('All chat and group chat windows will be closed.'),
                 [DialogButton.make('Cancel',
                                    callback=lambda: switch.set_active(True)),



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/ddc26220272db55763ce596927f14c8f0f083ac8

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/ddc26220272db55763ce596927f14c8f0f083ac8
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to