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


Commits:
f3fc0cdf by wurstsalat at 2024-07-06T14:03:05+02:00
fix: SynchronizeAccounts: Fix dialog for starting with unavailable account

Fixes #11901

- - - - -


1 changed file:

- gajim/gtk/synchronize_accounts.py


Changes:

=====================================
gajim/gtk/synchronize_accounts.py
=====================================
@@ -31,6 +31,10 @@ def __init__(self, account: str) -> None:
         self.set_transient_for(get_app_window('AccountsWindow'))
 
         self.account = account
+
+        self._ui = get_builder('synchronize_accounts.ui')
+        self.add(self._ui.stack)
+
         if not app.account_is_available(account):
             self._ui.connection_warning_label.show()
             self._ui.select_contacts_button.set_sensitive(False)
@@ -42,8 +46,7 @@ def __init__(self, account: str) -> None:
         self._remote_account = None
         self._remote_client = None
 
-        self._ui = get_builder('synchronize_accounts.ui')
-        self.add(self._ui.stack)
+
 
         # Accounts
         model = Gtk.ListStore(str, str, bool)



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/f3fc0cdf0b9739141e27e86520b7809c3b626ea0
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]

Reply via email to