Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ pom.tycho
/binaries/org.eclipse.swt.*/src/
tmpdir/
‎build_gtk.sh
build_gtk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1557,13 +1557,15 @@ public int getColumnCount () {

@Override
GdkRGBA getContextBackgroundGdkRGBA () {
if (background != null) {
return background;
} else {
// For Tables and Trees, the default background is
// COLOR_LIST_BACKGROUND instead of COLOR_WIDGET_BACKGROUND.
return defaultBackground();
}
// Bug 2702: When a custom background is set, delegate to Control's implementation
// which parses from the CSS provider. This prevents focus issues that occur when
// returning the stored background field value directly.
if (background != null && background != defaultBackground()) {
return super.getContextBackgroundGdkRGBA();
}
// For Tables and Trees, the default background is
// COLOR_LIST_BACKGROUND instead of COLOR_WIDGET_BACKGROUND.
return defaultBackground();
}

@Override
Expand Down