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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-09-11 02:56:58 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060911025658-997cf3a305b9f1da
A better implementation for the drive selection. (OptionMenu didn't work on Win32)

Show diffs side-by-side

added added

removed removed

Lines of Context:
429
429
        # TODO: more than one parent
430
430
        """Callback for when a treeview row gets activated."""
431
431
        revision = self.model[path][0]
 
432
        if len(self.parent_ids[revision]) == 0:
 
433
            # Ignore revisions without parent
 
434
            return
432
435
        parent_id = self.parent_ids[revision][0]
433
436
        if self.app is not None:
434
437
            self.app.show_diff(self.branch, revision.revision_id, parent_id)