565 proc.start(program, arguments) |
565 proc.start(program, arguments) |
566 procStarted = proc.waitForStarted(5000) |
566 procStarted = proc.waitForStarted(5000) |
567 if not procStarted: |
567 if not procStarted: |
568 E5MessageBox.critical( |
568 E5MessageBox.critical( |
569 None, |
569 None, |
570 self.trUtf8('Process Generation Error'), |
570 self.tr('Process Generation Error'), |
571 self.trUtf8( |
571 self.tr( |
572 'The process {0} could not be started. ' |
572 'The process {0} could not be started. ' |
573 'Ensure, that it is in the search path.' |
573 'Ensure, that it is in the search path.' |
574 ).format(program)) |
574 ).format(program)) |
575 return False |
575 return False |
576 else: |
576 else: |
696 self.statusMonitorThread.terminate() |
696 self.statusMonitorThread.terminate() |
697 self.statusMonitorThread.wait(10000) |
697 self.statusMonitorThread.wait(10000) |
698 self.statusMonitorThread = None |
698 self.statusMonitorThread = None |
699 self.__statusMonitorStatus( |
699 self.__statusMonitorStatus( |
700 "off", |
700 "off", |
701 self.trUtf8("Repository status checking is switched off")) |
701 self.tr("Repository status checking is switched off")) |
702 |
702 |
703 def setStatusMonitorInterval(self, interval, project): |
703 def setStatusMonitorInterval(self, interval, project): |
704 """ |
704 """ |
705 Public method to change the monitor interval. |
705 Public method to change the monitor interval. |
706 |
706 |