From 6378718ddc2c39d41409bdb314666be698c14216 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 8 Mar 2017 20:44:28 +0100 Subject: [PATCH] primitivus: fixed profileCreate bridge call --- frontends/src/primitivus/profile_manager.py | 2 +- frontends/src/quick_frontend/quick_profile_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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":