Mercurial > libervia-backend
changeset 2171:978011533892
primitivus: fixed profileCreate bridge call
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 08 Mar 2017 20:44:28 +0100 |
parents | d246666ebe25 |
children | 545a1261ac3b |
files | frontends/src/primitivus/profile_manager.py frontends/src/quick_frontend/quick_profile_manager.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/primitivus/profile_manager.py Mon Mar 06 21:22:59 2017 +0100 +++ b/frontends/src/primitivus/profile_manager.py Wed Mar 08 20:44:28 2017 +0100 @@ -88,7 +88,7 @@ def newProfile(self, button, edit): """Create the profile""" name = edit.get_edit_text() - self.host.bridge.createProfile(name, callback=lambda: self.newProfileCreated(name), errback=self.profileCreationFailure) + self.host.bridge.profileCreate(name, callback=lambda: self.newProfileCreated(name), errback=self.profileCreationFailure) def newProfileCreated(self, profile): # new profile will be selected, and a selected profile assume the session is started
--- a/frontends/src/quick_frontend/quick_profile_manager.py Mon Mar 06 21:22:59 2017 +0100 +++ b/frontends/src/quick_frontend/quick_profile_manager.py Wed Mar 08 20:44:28 2017 +0100 @@ -134,7 +134,7 @@ def _getErrorMessage(self, reason): """Return an error message corresponding to profile creation error - @param reason (str): reason as returned by createProfile + @param reason (str): reason as returned by profileCreate @return (unicode): human readable error message """ if reason == "ConflictError":