Changeset ac4b569854a7…
Parent 5527a5c0dcf2…
by
Changes to 3 files · Browse files at ac4b569854a7 Showing diff from parent 5527a5c0dcf2 Diff from another changeset...
@@ -165,7 +165,7 @@ return True
def grep_thgdiff(self, treeview):
- self._do_diff([], {'change' : self.currev}, modal=True)
+ self._do_diff([], {'change' : self.currev})
def grep_row_act(self, tree, path, column):
'Default action is the first entry in the context menu'
@@ -612,7 +612,7 @@ return True
def annotate_thgdiff(self, treeview):
- self._do_diff([], {'change' : self.currev}, modal=True)
+ self._do_diff([], {'change' : self.currev})
def toggle_annatate_columns(self, button, treeview, col):
b = button.get_active()
|
@@ -402,16 +402,15 @@
return True, textout
- def _do_diff(self, canonpats, options, modal=False):
+ def _do_diff(self, canonpats, options):
from hggtk import visdiff
options['canonpats'] = canonpats
dialog = visdiff.run(self.ui, **options)
if not dialog:
return
dialog.show_all()
- if modal:
- dialog.run()
- dialog.hide()
+ dialog.run()
+ dialog.hide()
def _diff_file(self, stat, file):
self._do_diff(file and [file] or [], self.opts)
|
@@ -560,12 +560,12 @@
def vdiff_change(self, menuitem, pats=[]):
rev = self.currow[treemodel.REVID]
- self._do_diff(pats, {'change' : rev}, modal=True)
+ self._do_diff(pats, {'change' : rev})
def vdiff_local(self, menuitem, pats=[]):
rev = self.currow[treemodel.REVID]
opts = {'rev' : ["%s" % rev]}
- self._do_diff(pats, opts, modal=True)
+ self._do_diff(pats, opts)
def diff_revs(self, menuitem):
rev0, rev1 = self.revs
|
Loading...