/ org.eclipsetrader.releng / nebula-widgets-cdatetime.patch
nebula-widgets-cdatetime.patch
1 Index: src/org/eclipse/nebula/widgets/cdatetime/AbstractCombo.java 2 =================================================================== 3 RCS file: /cvsroot/technology/org.eclipse.swt.nebula/org.eclipse.nebula.widgets.cdatetime/src/org/eclipse/nebula/widgets/cdatetime/AbstractCombo.java,v 4 retrieving revision 1.13 5 diff -u -r1.13 AbstractCombo.java 6 --- src/org/eclipse/nebula/widgets/cdatetime/AbstractCombo.java 5 Feb 2008 21:10:18 -0000 1.13 7 +++ src/org/eclipse/nebula/widgets/cdatetime/AbstractCombo.java 29 Sep 2008 09:04:37 -0000 8 @@ -51,7 +51,7 @@ 9 * The value of {@link SWT#getVersion()} for the earliest known revision that fixes 10 * the SWT bug mentioned in bug 185739. 11 */ 12 - protected static int SWT_MODAL_FIX_VERSION = 3346; 13 + protected static int SWT_MODAL_FIX_VERSION = 3400; 14 15 /** 16 * Special layout implementation to position the combo's drop-down Button within 17 Index: src/org/eclipse/nebula/widgets/cdatetime/CDateTime.java 18 =================================================================== 19 RCS file: /cvsroot/technology/org.eclipse.swt.nebula/org.eclipse.nebula.widgets.cdatetime/src/org/eclipse/nebula/widgets/cdatetime/CDateTime.java,v 20 retrieving revision 1.5 21 diff -u -r1.5 CDateTime.java 22 --- src/org/eclipse/nebula/widgets/cdatetime/CDateTime.java 16 Nov 2007 21:44:29 -0000 1.5 23 +++ src/org/eclipse/nebula/widgets/cdatetime/CDateTime.java 29 Sep 2008 09:04:38 -0000 24 @@ -273,7 +273,12 @@ 25 } else { 26 setButtonVisibility(CDT.BUTTON_NEVER); 27 if((style & CDT.SPINNER) != 0) { 28 - spinner = new Spinner(this, SWT.VERTICAL); 29 + int spinnerStyle = SWT.VERTICAL; 30 + if (gtk) { 31 + if ((style & CDT.BORDER) != 0) 32 + spinnerStyle |= SWT.BORDER; 33 + } 34 + spinner = new Spinner(this, spinnerStyle); 35 spinner.setMinimum(0); 36 spinner.setMaximum(50); 37 spinner.setDigits(1); 38 Index: .classpath 39 =================================================================== 40 RCS file: /cvsroot/technology/org.eclipse.swt.nebula/org.eclipse.nebula.widgets.cdatetime/.classpath,v 41 retrieving revision 1.1 42 diff -u -r1.1 .classpath 43 --- .classpath 10 Mar 2007 12:37:37 -0000 1.1 44 +++ .classpath 29 Sep 2008 09:04:37 -0000 45 @@ -1,7 +1,7 @@ 46 <?xml version="1.0" encoding="UTF-8"?> 47 <classpath> 48 <classpathentry kind="src" path="src"/> 49 - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 50 + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/> 51 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> 52 <classpathentry kind="output" path="bin"/> 53 </classpath> 54 Index: META-INF/MANIFEST.MF 55 =================================================================== 56 RCS file: /cvsroot/technology/org.eclipse.swt.nebula/org.eclipse.nebula.widgets.cdatetime/META-INF/MANIFEST.MF,v 57 retrieving revision 1.4 58 diff -u -r1.4 MANIFEST.MF 59 --- META-INF/MANIFEST.MF 31 Jul 2007 18:20:36 -0000 1.4 60 +++ META-INF/MANIFEST.MF 29 Sep 2008 09:04:37 -0000 61 @@ -12,3 +12,4 @@ 62 org.eclipse.core.databinding.beans;resolution:=optional 63 Export-Package: org.eclipse.nebula.widgets.cdatetime 64 Eclipse-LazyStart: true 65 +Bundle-Localization: plugin