summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2003-02-20 03:39:24 +0000
committerSteve Northover <steve>2003-02-20 03:39:24 +0000
commit328063de9acd4d44570c48611259a36493fc51b6 (patch)
treec1a21a91ffc84e5abb9764b4d577b76d1e9bfba4
parentc7949e2791e591f299dc1357a7865883f30fe82e (diff)
downloadeclipse.platform.swt-328063de9acd4d44570c48611259a36493fc51b6.tar.gz
eclipse.platform.swt-328063de9acd4d44570c48611259a36493fc51b6.tar.xz
eclipse.platform.swt-328063de9acd4d44570c48611259a36493fc51b6.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java5
2 files changed, 8 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
index 5f150a0795..862ec4a743 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
@@ -2457,9 +2457,9 @@ public void setVisible (boolean visible) {
* not respond to a mnemonic. The fix is to unrealize
* the widget hierarchy every time a widget is hidden.
*
- * Note: Controls who have an IM context associated can
- * not call unrealize because it will force the widget to be
- * remapped.
+ * Note: Controls who have an IM context associated cannot
+ * call gtk_widget_unrealize() because it forces the widget to
+ * be remapped.
*/
int imHandle = imHandle ();
if (imHandle == 0) OS.gtk_widget_unrealize (topHandle);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
index 81c9d5db3d..51b3d8b44c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
@@ -800,6 +800,11 @@ static boolean isValidClass (Class clazz) {
return name.substring (0, index + 1).equals (PACKAGE_PREFIX);
}
+public int getDismissalAlignment () {
+ checkDevice ();
+ return SWT.RIGHT;
+}
+
/**
* Returns the longest duration, in milliseconds, between
* two mouse button clicks that will be considered a