Mercurial > libervia-backend
changeset 2119:469702b46768
jp (core): fixed signal registration for progressions
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 15 Jan 2017 16:00:40 +0100 |
parents | 442423faf220 |
children | 4d9aeae5d9d0 |
files | frontends/src/jp/base.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/jp/base.py Sun Jan 15 16:00:40 2017 +0100 +++ b/frontends/src/jp/base.py Sun Jan 15 16:00:40 2017 +0100 @@ -727,9 +727,9 @@ if show_progress: self.host.watch_progress = True # we need to register the following signal even if we don't display the progress bar - self.host.bridge.register("progressStarted", self.progressStartedHandler) - self.host.bridge.register("progressFinished", self.progressFinishedHandler) - self.host.bridge.register("progressError", self.progressErrorHandler) + self.host.bridge.register_signal("progressStarted", self.progressStartedHandler) + self.host.bridge.register_signal("progressFinished", self.progressFinishedHandler) + self.host.bridge.register_signal("progressError", self.progressErrorHandler) if self.need_connect is not None: self.host.connect_profile(self.connected)