Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

repowidget: connect search actions of manifest view to grep task tab

Changeset a3969e2e9174

Parent 3e144c972274

by Yuya Nishihara

Changes to one file · Browse files at a3969e2e9174 Showing diff from parent 3e144c972274 Diff from another changeset...

 
167
168
169
 
170
171
172
 
362
363
364
 
 
 
 
 
 
 
365
366
367
 
167
168
169
170
171
172
173
 
363
364
365
366
367
368
369
370
371
372
373
374
375
@@ -167,6 +167,7 @@
  w.setrev(filterrev(rev)))   w.revchanged.connect(self.repoview.goto)   w.revisionHint.connect(self.showMessage) + w.grepRequested.connect(self.grep)   return w     def createSyncWidget(self): @@ -362,6 +363,13 @@
  dlg.setWindowModality(Qt.WindowModal)   dlg.exec_()   + @pyqtSlot(unicode, dict) + def grep(self, pattern='', opts={}): + """Open grep task tab""" + opts = dict((str(k), str(v)) for k, v in opts.iteritems()) + self.taskTabsWidget.setCurrentIndex(self.grepTabIndex) + self.grepDemand.setSearch(pattern, **opts) +   def create_models(self):   self.repomodel = HgRepoListModel(self.repo)   self.repomodel.filled.connect(self.modelFilled)