Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2012-10-08 14:40:01 +0000
committerDani Megert2012-10-08 14:40:01 +0000
commit34b09b2724bd235aeab9d529538412883cc93d7b (patch)
tree071eca6377717cae85d4b5a98378ba502b7105ab
parent49e16017424a78ec81da70846a3672980f68191e (diff)
downloadegit-34b09b2724bd235aeab9d529538412883cc93d7b.tar.gz
egit-34b09b2724bd235aeab9d529538412883cc93d7b.tar.xz
egit-34b09b2724bd235aeab9d529538412883cc93d7b.zip
'Cancel' button must be on the right on Windows
Change-Id: I230800d2a6c80105a74471193c2f93fe9ad138e3 Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java
index 61fff7af75..960da6a638 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java
@@ -526,12 +526,12 @@ public class CommitDialog extends TitleAreaDialog {
@Override
protected void createButtonsForButtonBar(Composite parent) {
toolkit.adapt(parent, false, false);
- createButton(parent, IDialogConstants.CANCEL_ID,
- IDialogConstants.CANCEL_LABEL, false);
- commitButton = createButton(parent, IDialogConstants.OK_ID,
- UIText.CommitDialog_Commit, true);
commitAndPushButton = createButton(parent, COMMIT_AND_PUSH_ID,
UIText.CommitDialog_CommitAndPush, false);
+ commitButton = createButton(parent, IDialogConstants.OK_ID,
+ UIText.CommitDialog_Commit, true);
+ createButton(parent, IDialogConstants.CANCEL_ID,
+ IDialogConstants.CANCEL_LABEL, false);
updateMessage();
}

Back to the top