/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: Daniel Schierbeck
  • Date: 2007-10-21 16:09:12 UTC
  • Revision ID: daniel.schierbeck@gmail.com-20071021160912-pim0pdnh30whp1bm
Moved branch locking into treeview.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        self._parent = parent
37
37
 
38
38
        self.connect('key-press-event', self._on_key_pressed)
39
 
        self.connect("destroy", lambda w: self.branch.unlock())
40
39
 
41
40
        # Use three-quarters of the screen by default
42
41
        screen = self.get_screen()
150
149
        treeview itself.
151
150
        """
152
151
        self.branch = branch
153
 
        self.branch.lock_read()
154
152
        self.set_title(branch.nick + " - revision history")
155
153
        self.treeview.set_branch(branch, start, maxnum)
156
154