diff --git a/frontends/src/primitivus/profile_manager.py b/frontends/src/primitivus/profile_manager.py index db6d9141..5fd5d10b 100644 --- a/frontends/src/primitivus/profile_manager.py +++ b/frontends/src/primitivus/profile_manager.py @@ -88,7 +88,7 @@ class ProfileManager(QuickProfileManager, urwid.WidgetWrap): 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 diff --git a/frontends/src/quick_frontend/quick_profile_manager.py b/frontends/src/quick_frontend/quick_profile_manager.py index 003fbaa3..7f2870cd 100644 --- a/frontends/src/quick_frontend/quick_profile_manager.py +++ b/frontends/src/quick_frontend/quick_profile_manager.py @@ -134,7 +134,7 @@ class QuickProfileManager(object): 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":