comparison frontends/src/jp/base.py @ 2119:469702b46768

jp (core): fixed signal registration for progressions
author Goffi <goffi@goffi.org>
date Sun, 15 Jan 2017 16:00:40 +0100
parents dc5d214f0a3b
children be96beb7ca14
comparison
equal deleted inserted replaced
2118:442423faf220 2119:469702b46768
725 pass 725 pass
726 else: 726 else:
727 if show_progress: 727 if show_progress:
728 self.host.watch_progress = True 728 self.host.watch_progress = True
729 # we need to register the following signal even if we don't display the progress bar 729 # we need to register the following signal even if we don't display the progress bar
730 self.host.bridge.register("progressStarted", self.progressStartedHandler) 730 self.host.bridge.register_signal("progressStarted", self.progressStartedHandler)
731 self.host.bridge.register("progressFinished", self.progressFinishedHandler) 731 self.host.bridge.register_signal("progressFinished", self.progressFinishedHandler)
732 self.host.bridge.register("progressError", self.progressErrorHandler) 732 self.host.bridge.register_signal("progressError", self.progressErrorHandler)
733 733
734 if self.need_connect is not None: 734 if self.need_connect is not None:
735 self.host.connect_profile(self.connected) 735 self.host.connect_profile(self.connected)
736 else: 736 else:
737 self.start() 737 self.start()