Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
kernel
Commits
59a48886
Commit
59a48886
authored
Jan 13, 2017
by
Alexander Diewald
Browse files
Fix GTK Boolean annotation checkbox not appearing in gtk environments.
refs 2406
parent
25e5144f
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/labelprovider/EmulatedNativeCheckBoxLabelProvider.java
View file @
59a48886
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment