119 if not procStarted: |
119 if not procStarted: |
120 self.inputGroup.setEnabled(False) |
120 self.inputGroup.setEnabled(False) |
121 self.inputGroup.hide() |
121 self.inputGroup.hide() |
122 E5MessageBox.critical( |
122 E5MessageBox.critical( |
123 self, |
123 self, |
124 self.trUtf8('Process Generation Error'), |
124 self.tr('Process Generation Error'), |
125 self.trUtf8( |
125 self.tr( |
126 'The process {0} could not be started. ' |
126 'The process {0} could not be started. ' |
127 'Ensure, that it is in the search path.' |
127 'Ensure, that it is in the search path.' |
128 ).format('hg')) |
128 ).format('hg')) |
129 else: |
129 else: |
130 self.inputGroup.setEnabled(True) |
130 self.inputGroup.setEnabled(True) |
153 self.process = None |
153 self.process = None |
154 |
154 |
155 if self.bookmarksList.topLevelItemCount() == 0: |
155 if self.bookmarksList.topLevelItemCount() == 0: |
156 # no bookmarks defined |
156 # no bookmarks defined |
157 self.__generateItem( |
157 self.__generateItem( |
158 self.trUtf8("no bookmarks defined"), "", "", "") |
158 self.tr("no bookmarks defined"), "", "", "") |
159 self.__resizeColumns() |
159 self.__resizeColumns() |
160 self.__resort() |
160 self.__resort() |
161 |
161 |
162 def on_buttonBox_clicked(self, button): |
162 def on_buttonBox_clicked(self, button): |
163 """ |
163 """ |