Mercurial > libervia-backend
diff frontends/src/wix/xmlui.py @ 1088:b29452cab50b
core, memory, plugins, stdui, frontends: look for DNS SRV records when server is not specified:
- fix bug 3
- modify "Connection" params:
- rename "Server" to "Force server" and "Port" to "Force port"
- set the default value to empty string for both
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 23 Jun 2014 00:44:10 +0200 |
parents | 7a39ae3950f7 |
children | 8e0072754413 |
line wrap: on
line diff
--- a/frontends/src/wix/xmlui.py Wed Jun 25 14:01:58 2014 +0200 +++ b/frontends/src/wix/xmlui.py Mon Jun 23 00:44:10 2014 +0200 @@ -320,7 +320,7 @@ if (ctrl._param_category, param_name) == ('Connection', 'JabberID'): domain = JID(ctrl._xmluiGetValue()).domain for widget in (ctl['control'] for ctl in self.ctrl_list.values()): - if (widget._param_category, widget._param_name) == ('Connection', 'Server'): + if (widget._param_category, widget._param_name) == ('Connection', C.FORCE_SERVER_PARAM): widget.SetValue(domain) break