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

commit: make details and branchop dialogs 'sheets' on Mac OS X

This makes the dialogs drop from the window bar in a very Mac fashion

Changeset 4a736657cd66

Parent cb571de12a41

by Steve Borho

Changes to one file · Browse files at 4a736657cd66 Showing diff from parent cb571de12a41 Diff from another changeset...

 
129
130
131
 
 
132
133
134
 
328
329
330
331
 
 
 
332
333
 
334
335
336
 
129
130
131
132
133
134
135
136
 
330
331
332
 
333
334
335
336
337
338
339
340
341
@@ -129,6 +129,8 @@
    def details(self):   dlg = DetailsDialog(self.opts, self.userhist, self) + dlg.setWindowFlags(Qt.Sheet) + dlg.setWindowModality(Qt.WindowModal)   if dlg.exec_() == QDialog.Accepted:   self.opts.update(dlg.outopts)   @@ -328,9 +330,12 @@
  return self.stwidget.saveState()     def branchOp(self): - d = branchop.BranchOpDialog(self.repo, self.branchop) + d = branchop.BranchOpDialog(self.repo, self.branchop, self) + d.setWindowFlags(Qt.Sheet) + d.setWindowModality(Qt.WindowModal)   if d.exec_() == QDialog.Accepted:   self.branchop = d.branchop + self.refresh()     def canUndo(self):   'Returns undo description or None if not valid'