~bialix/bzr-explorer/bug-907708

« back to all changes in this revision

Viewing changes to lib/checkout_dialog.py

  • Committer: Alexander Belchenko
  • Date: 2012-06-29 02:01:43 UTC
  • Revision ID: bialix@ukr.net-20120629020143-2l0aiggc8ktmbtum
Checkout is heavy-weight by default now, show user checkbox to select lightweight checkout.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        super(QCheckoutExplorerStyleDialog, self).__init__(
39
39
            to_location, ui_mode=ui_mode, parent=parent)
40
40
 
41
 
        # Hide the options group box - checkouts are always lightweight in
42
 
        # explorer. If users want a heavyweight checkout, they need to use
43
 
        # the Branch dialog and bind the branch instead.
44
 
        self.ui.groupBox_3.setVisible(False)
45
 
        self.ui.but_lightweight.setChecked(True)
 
41
        # Hide branch controls but show lightweigt checkout option
 
42
        # see bug https://bugs.launchpad.net/bzr-explorer/+bug/907708
 
43
        # [ugly] UNfortunately there is spacer item that I unable to hide
 
44
        # therefore there is extra blank line below lightweight option
 
45
        self.ui.but_branch.setVisible(False)
 
46
        self.ui.but_stacked.setVisible(False)
 
47
        self.ui.link_help.setVisible(False)
46
48
 
47
49
        # Init the controls
48
50
        if branch_location: