Commit 59a48886 authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Fix GTK Boolean annotation checkbox not appearing in gtk environments.

refs 2406
parent 25e5144f
......@@ -62,7 +62,7 @@ import org.fortiss.tooling.base.ui.annotation.view.IAnnotationViewPart;
* @author diewald
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 9FD4DCC024810D15D8579ED28EE19528
* @ConQAT.Rating YELLOW Hash: C51CAC791396333CE5D6A132F6109FF0
*/
public class EmulatedNativeCheckBoxLabelProvider extends AnnotationLabelProvider {
......@@ -182,7 +182,8 @@ public class EmulatedNativeCheckBoxLabelProvider extends AnnotationLabelProvider
// shell not being "visible". Opening a second Shell modifies some
// internal properties of the existing shell, such that the widgets
// become visible.
if(getBundle("org.eclipse.swt.gtk") != null) {
if(getBundle("org.eclipse.swt.gtk.linux.x86_64") != null ||
getBundle("org.eclipse.swt.gtk.linux.x86") != null) {
Shell shell2 = new Shell(control.getShell(), SWT.NO_TRIM);
shell2.open();
shell2.close();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment