/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/commit.py

  • Committer: Jelmer Vernooij
  • Date: 2006-09-05 01:51:53 UTC
  • mto: (0.8.83 merge)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060905015153-e779872d12e94f47
Remove last few bits from backend and integrate them where necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
                                     _('You can perform this action only in a branch.'))
94
94
            self.close()
95
95
        else:
96
 
            from olive.backend.info import is_checkout
97
 
            if is_checkout(self.comm.get_path()):
 
96
            branch = Branch.open_containing(self.comm.get_path())[0]
 
97
 
 
98
            if branch.get_bound_location() is not None:
98
99
                # we have a checkout, so the local commit checkbox must appear
99
100
                self.checkbutton_local.show()
100
101