diff options
| author | Remy Suen | 2010-05-14 10:30:55 +0000 |
|---|---|---|
| committer | Remy Suen | 2010-05-14 10:30:55 +0000 |
| commit | 2c4ebe3d2196ab28b5f72505f571cc18fd02e098 (patch) | |
| tree | bbfd01adb55158f1dcefc3cf154b4530891dc864 | |
| parent | 44e7827e5796b70645ce6ba31c5e255a5960b2a5 (diff) | |
| download | egit-2c4ebe3d2196ab28b5f72505f571cc18fd02e098.tar.gz egit-2c4ebe3d2196ab28b5f72505f571cc18fd02e098.tar.xz egit-2c4ebe3d2196ab28b5f72505f571cc18fd02e098.zip | |
'Git' property page does not need 'Default' and 'Apply' buttons
The 'Git' property page currently only shows read-only information
to the user. As there is no state information on this property
page, the 'Default' and 'Apply' buttons should be removed.
Change-Id: Id706859173a6bd9f11f4adebf78d1e03579621a1
| -rw-r--r-- | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitProjectPropertyPage.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitProjectPropertyPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitProjectPropertyPage.java index 446e96b053..2d49670704 100644 --- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitProjectPropertyPage.java +++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitProjectPropertyPage.java @@ -45,6 +45,10 @@ public class GitProjectPropertyPage extends PropertyPage { @Override protected Control createContents(Composite parent) { + // this page just shows read-only information to the user, no + // default/apply buttons needed + noDefaultAndApplyButton(); + final Composite composite = new Composite(parent, SWT.NULL); composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); |
