Fix spelling mistake in variable name

Change-Id: I17df6af680c04c4682c408c949452b493c58ca32
This commit is contained in:
David Pursehouse
2012-11-21 17:31:34 +09:00
parent fd9eed5b48
commit 4accc9e658
3 changed files with 7 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ public class MyWatchedProjectsScreen extends SettingsScreen {
@Override
protected void onMovePointerTo(String projectName) {
// prevent user input from being overwritten by simply poping up
if (!projectsPopup.isPopingUp() || "".equals(nameBox.getText())) {
if (!projectsPopup.isPoppingUp() || "".equals(nameBox.getText())) {
nameBox.setText(projectName);
}
}

View File

@@ -95,7 +95,7 @@ public class CreateProjectScreen extends Screen {
@Override
protected void onMovePointerTo(String projectName) {
// prevent user input from being overwritten by simply poping up
if (!projectsPopup.isPopingUp() || "".equals(sugestParent.getText())) {
if (!projectsPopup.isPoppingUp() || "".equals(sugestParent.getText())) {
sugestParent.setText(projectName);
}
}

View File

@@ -38,7 +38,7 @@ public class ProjectListPopup {
private PopupPanel.PositionCallback popupPosition;
private int preferredTop;
private int preferredLeft;
private boolean popingUp;
private boolean poppingUp;
private boolean firstPopupLoad = true;
public void initPopup(final String popupText, final String currentPageLink) {
@@ -84,8 +84,8 @@ public class ProjectListPopup {
protected void openRow(String projectName) {
}
public boolean isPopingUp() {
return popingUp;
public boolean isPoppingUp() {
return poppingUp;
}
private void createWidgets(final String popupText,
@@ -119,7 +119,7 @@ public class ProjectListPopup {
}
public void displayPopup() {
popingUp = true;
poppingUp = true;
if (firstPopupLoad) { // For sizing/positioning, delay display until loaded
populateProjects();
} else {
@@ -132,7 +132,7 @@ public class ProjectListPopup {
}
projectsTab.setRegisterKeys(true);
projectsTab.finishDisplay();
popingUp = false;
poppingUp = false;
}
}