diff --git a/gajim/data/gui/join_groupchat_window.ui b/gajim/data/gui/join_groupchat_window.ui index ddb20bfe8..855acbee4 100644 --- a/gajim/data/gui/join_groupchat_window.ui +++ b/gajim/data/gui/join_groupchat_window.ui @@ -101,7 +101,7 @@ 1 - 9 + 8 @@ -118,14 +118,16 @@ 0 - 9 + 8 True False + True end + 12 Account right - - 0 - 6 - - - - - 6 - True - False - vertical - - - - 0 5 @@ -241,7 +228,22 @@ 0 - 7 + 4 + + + + + 6 + True + False + vertical + + + + + + 0 + 6 @@ -256,7 +258,7 @@ 1 - 8 + 7 @@ -273,28 +275,15 @@ 0 - 8 - - - - - 6 - True - False - vertical - - - - - - 0 - 1 + 7 True False + True + 12 account_liststore 0 @@ -320,7 +309,7 @@ 1 - 4 + 3 @@ -386,7 +375,7 @@ 1 - 3 + 2 @@ -404,7 +393,7 @@ 1 - 2 + 1 @@ -413,9 +402,6 @@ - - - False diff --git a/gajim/dialogs.py b/gajim/dialogs.py index 6865a0934..7b9754a36 100644 --- a/gajim/dialogs.py +++ b/gajim/dialogs.py @@ -2375,10 +2375,10 @@ class JoinGroupchatWindow(Gtk.ApplicationWindow): app.ged.register_event_handler('agent-info-error-received', ged.GUI1, self._nec_agent_info_error_received) - # Show account combobox if there is more than one account - if len(accounts) > 1: - self.account_combo.show() - self.account_label.show() + # Hide account combobox if there is only one account + if len(accounts) == 1: + self.account_combo.hide() + self.account_label.hide() self.account_combo.set_active_id(self.account)