/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 viz/branchwin.py

  • Committer: Jelmer Vernooij
  • Date: 2007-07-15 16:34:36 UTC
  • Revision ID: jelmer@samba.org-20070715163436-jf29c2xypm2xywh7
Fix regression.

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
    def _treeview_row_activated_cb(self, widget, path, col):
279
279
        # TODO: more than one parent
280
280
        """Callback for when a treeview row gets activated."""
281
 
        revision = self.selected_revision()
 
281
        revision = self.selected_revision(path)
282
282
        if len(self.parent_ids[revision]) == 0:
283
283
            # Ignore revisions without parent
284
284
            return