Mercurial > libervia-backend
comparison frontends/src/primitivus/profile_manager.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 | 6ec513ad92c2 |
children | 8e0072754413 |
comparison
equal
deleted
inserted
replaced
1087:b3b7a2863060 | 1088:b29452cab50b |
---|---|
165 new_jid = self.login_wid.get_edit_text() | 165 new_jid = self.login_wid.get_edit_text() |
166 new_pass = self.pass_wid.get_edit_text() | 166 new_pass = self.pass_wid.get_edit_text() |
167 | 167 |
168 if old_jid != new_jid: | 168 if old_jid != new_jid: |
169 self.host.bridge.setParam("JabberID", new_jid, "Connection", profile_key=profile) | 169 self.host.bridge.setParam("JabberID", new_jid, "Connection", profile_key=profile) |
170 self.host.bridge.setParam("Server", JID(new_jid).domain, "Connection", profile_key=profile) | 170 self.host.bridge.setParam(C.FORCE_SERVER_PARAM, JID(new_jid).domain, "Connection", profile_key=profile) |
171 if old_pass != new_pass: | 171 if old_pass != new_pass: |
172 self.host.bridge.setParam("Password", new_pass, "Connection", profile_key=profile) | 172 self.host.bridge.setParam("Password", new_pass, "Connection", profile_key=profile) |
173 self.host.plug_profile(profile) | 173 self.host.plug_profile(profile) |
174 | 174 |
175 def getParamError(self, ignore): | 175 def getParamError(self, ignore): |