Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
209
Issues
209
List
Boards
Labels
Service Desk
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
9678acc3
Unverified
Commit
9678acc3
authored
Feb 19, 2021
by
Michel Le Bihan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change servers.json format
parent
b543f1ab
Pipeline
#7367
passed with stages
in 6 minutes and 48 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
30 deletions
+28
-30
gajim/data/other/servers.json
gajim/data/other/servers.json
+26
-28
gajim/gtk/account_wizard.py
gajim/gtk/account_wizard.py
+2
-2
No files found.
gajim/data/other/servers.json
View file @
9678acc3
{
"servers"
:[
"0nl1ne.at"
,
"blabber.im"
,
"creep.im"
,
"deshalbfrei.org"
,
"draugr.de"
,
"jabber.ccc.de"
,
"jabber.cz"
,
"jabber.meta.net.nz"
,
"jabber.no"
,
"jabber.sk"
,
"jabberes.org"
,
"jabbim.com"
,
"jabbim.cz"
,
"jabbim.pl"
,
"jabbim.sk"
,
"jabster.pl"
,
"lightwitch.org"
,
"linuxlovers.at"
,
"njs.netlab.cz"
,
"tigase.im"
,
"ubuntu-jabber.de"
,
"ubuntu-jabber.net"
,
"verdammung.org"
,
"xabber.de"
]
}
[
"0nl1ne.at"
,
"blabber.im"
,
"creep.im"
,
"deshalbfrei.org"
,
"draugr.de"
,
"jabber.ccc.de"
,
"jabber.cz"
,
"jabber.meta.net.nz"
,
"jabber.no"
,
"jabber.sk"
,
"jabberes.org"
,
"jabbim.com"
,
"jabbim.cz"
,
"jabbim.pl"
,
"jabbim.sk"
,
"jabster.pl"
,
"lightwitch.org"
,
"linuxlovers.at"
,
"njs.netlab.cz"
,
"tigase.im"
,
"ubuntu-jabber.de"
,
"ubuntu-jabber.net"
,
"verdammung.org"
,
"xabber.de"
]
gajim/gtk/account_wizard.py
View file @
9678acc3
...
...
@@ -559,7 +559,7 @@ def _on_signup(self, *args):
def
_create_server_completion
(
self
):
# Parse servers.json
file_path
=
configpaths
.
get
(
'DATA'
)
/
'other'
/
'servers.json'
self
.
_servers
=
helpers
.
load_json
(
file_path
,
'servers'
,
[])
self
.
_servers
=
helpers
.
load_json
(
file_path
,
default
=
[])
# Create a separate model for the address entry, because it will
# be updated with our localpart@
...
...
@@ -658,7 +658,7 @@ def focus(self):
def
_create_server_completion
(
self
):
# Parse servers.json
file_path
=
configpaths
.
get
(
'DATA'
)
/
'other'
/
'servers.json'
servers
=
helpers
.
load_json
(
file_path
,
'servers'
,
[])
servers
=
helpers
.
load_json
(
file_path
,
default
=
[])
# Create servers_model for comboboxes and entries
servers_model
=
Gtk
.
ListStore
(
str
)
...
...
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