Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_profile_manager.py @ 2168:255830fdb80b
core, bridge: renamed getProfileName to profileNameGet according to new conventions
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 05 Mar 2017 21:36:01 +0100 |
parents | 1bb9bf1b4150 |
children | 978011533892 |
comparison
equal
deleted
inserted
replaced
2167:4b78b4c7f805 | 2168:255830fdb80b |
---|---|
121 | 121 |
122 def getProfileNameEb(failure): | 122 def getProfileNameEb(failure): |
123 log.error(u"Can't retrieve profile name: {}".format(failure)) | 123 log.error(u"Can't retrieve profile name: {}".format(failure)) |
124 | 124 |
125 for profile_key in profile_keys: | 125 for profile_key in profile_keys: |
126 self.host.bridge.getProfileName(profile_key, callback=getProfileNameCb, errback=getProfileNameEb) | 126 self.host.bridge.profileNameGet(profile_key, callback=getProfileNameCb, errback=getProfileNameEb) |
127 | 127 |
128 | 128 |
129 def getParamError(self, dummy): | 129 def getParamError(self, dummy): |
130 self.host.showDialog(_(u"Error"), _("Can't get profile parameter"), 'error') | 130 self.host.showDialog(_(u"Error"), _("Can't get profile parameter"), 'error') |
131 | 131 |