summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
diff options
context:
space:
mode:
authorBogdan Gheorghe <gheorghe>2008-03-19 20:34:21 +0000
committerBogdan Gheorghe <gheorghe>2008-03-19 20:34:21 +0000
commit8dba171e724701063992fd369ae294580164dcb9 (patch)
tree824af8c08cb989bef30de2f97617f8ad9990b528 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
parent6242701c8cb8d3abdee5517ccc0e3b78fafed05c (diff)
downloadeclipse.platform.swt-8dba171e724701063992fd369ae294580164dcb9.tar.gz
eclipse.platform.swt-8dba171e724701063992fd369ae294580164dcb9.tar.xz
eclipse.platform.swt-8dba171e724701063992fd369ae294580164dcb9.zip
215204 read-only Combo.setText() does not fire Modify event on GTK
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
index b794fc4d8e..418a61e7bf 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
@@ -2035,6 +2035,7 @@ public void setText (String string) {
OS.g_signal_handlers_block_matched (handle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, CHANGED);
OS.gtk_combo_box_set_active (handle, index);
OS.g_signal_handlers_unblock_matched (handle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, CHANGED);
+ sendEvent (SWT.Modify);
return;
}
}