Skip to content

Commit

Permalink
Updated wording in clone dialog to clarify
Browse files Browse the repository at this point in the history
solves bug 3457
  • Loading branch information
goglepox committed Dec 20, 2012
1 parent b35d98f commit 408f7c6
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -250,7 +250,8 @@ public void handleEvent(Event arg0) {
}

DirectoryDialog dd = new DirectoryDialog(Display.getDefault().getActiveShell());
dd.setFilterPath(txt);
dd.setText("Select folder for clone");
dd.setFilterPath(new File(txt).getParentFile().getAbsolutePath());
String directory = dd.open();
if (directory == null) { return; }

Expand All @@ -275,7 +276,7 @@ public void handleEvent(Event arg0) {
return;
}

boolean setActive = MessageDialog.openConfirm(Display.getDefault().getActiveShell(), "Workspace Cloned",
boolean setActive = MessageDialog.openQuestion(Display.getDefault().getActiveShell(), "Workspace Cloned",
"Would you like to set the newly cloned workspace to be the active one?");
if (setActive) {
_workspacePathCombo.setText(directory);
Expand Down

0 comments on commit 408f7c6

Please sign in to comment.