From 97a43d38661f5db5d788456a2141119ed4fe0ead Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Thu, 8 Jan 2009 17:56:25 +0100 Subject: [PATCH] Create the import wizard question checkbox properly This is necessary for good layout and to make the UI test work. Anyway, this is the way checkboxes should be created. Signed-off-by: Robin Rosenberg Signed-off-by: Shawn O. Pearce --- .../src/org/spearce/egit/ui/internal/clone/CloneDestinationPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/clone/CloneDestinationPage.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/clone/CloneDestinationPage.java index d017b607..a02b3a2f 100644 --- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/clone/CloneDestinationPage.java +++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/clone/CloneDestinationPage.java @@ -173,9 +173,9 @@ class CloneDestinationPage extends WizardPage { private void createWorkbenchGroup(Composite parent) { final Group g = createGroup(parent, "Workspace import"); - newLabel(g, "Import projects after clone"); showImportWizard = new Button(g, SWT.CHECK); showImportWizard.setSelection(true); + showImportWizard.setText("Import projects after clone"); showImportWizard.setLayoutData(createFieldGridData()); showImportWizard.addSelectionListener(new SelectionAdapter() { @Override -- 2.11.4.GIT