Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim
Commits
59cfddc3
Commit
59cfddc3
authored
May 21, 2018
by
Philipp Hörist
Browse files
Fix first start with no accounts
parent
714d70cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/application.py
View file @
59cfddc3
...
...
@@ -356,10 +356,10 @@ def add_actions(self):
self
.
add_action
(
act
)
accounts_list
=
sorted
(
app
.
config
.
get_per
(
'accounts'
))
if
not
accounts_list
:
return
if
'Local'
in
accounts_list
:
accounts_list
.
remove
(
'Local'
)
if
not
accounts_list
:
return
if
len
(
accounts_list
)
>
1
:
for
acc
in
accounts_list
:
self
.
add_account_actions
(
acc
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment