Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable filelistview: disable history widgets launching from wctx view (closes #118)

After the 2.0 release, the filelistview should no longer generate its own
menu. Instead, menu events should be forwarded to the parent (revdetails and
chunks) where they can keep separate actions and logic.

Changeset c2ab7d178c43

Parent 2d9deca18870

by Steve Borho

Changes to one file · Browse files at c2ab7d178c43 Showing diff from parent 2d9deca18870 Diff from another changeset...

 
66
67
68
69
 
70
71
72
 
66
67
68
 
69
70
71
72
@@ -66,7 +66,7 @@
  def contextChanged(self, ctx):   real = type(ctx.rev()) is int   wd = ctx.rev() is None - for act in ['ldiff', 'edit']: + for act in ['navigate', 'diffnavigate', 'ldiff', 'edit']:   self._actions[act].setEnabled(real)   for act in ['diff', 'revert']:   self._actions[act].setEnabled(real or wd)