/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to annotate/gannotate.py

  • Committer: Aaron Bentley
  • Date: 2008-04-28 21:20:43 UTC
  • mfrom: (450.8.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 472.
  • Revision ID: aaron@aaronbentley.com-20080428212043-5di54rn0vzymooch
Get viz working on graphs with ghosts

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
 
178
178
    def _activate_selected_revision(self, w):
179
179
        rev_id = self._selected_revision()
180
 
        if rev_id is None:
 
180
        if not rev_id or rev_id == NULL_REVISION:
181
181
            return
182
182
        selected = self.revisions[rev_id]
183
183
        self.revisionview.set_revision(selected)