/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: Jelmer Vernooij
  • Date: 2008-04-30 13:08:30 UTC
  • mfrom: (473.1.1 bzr-gtk)
  • Revision ID: jelmer@samba.org-20080430130830-i1y4ytmi5ov6km4f
Merge Andrews' fix for gannotate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
class GAnnotateWindow(Window):
46
46
    """Annotate window."""
47
47
 
48
 
    def __init__(self, all=False, plain=False, parent=None):
 
48
    def __init__(self, all=False, plain=False, parent=None, branch=None):
49
49
        self.all = all
50
50
        self.plain = plain
 
51
        self._branch = branch
51
52
        
52
53
        Window.__init__(self, parent)
53
54
        
320
321
        return tv
321
322
 
322
323
    def _create_log_view(self):
323
 
        lv = RevisionView()
 
324
        lv = RevisionView(self._branch)
324
325
        lv.show()
325
326
        return lv
326
327