Fix custom search entry background on Adwaita 3.20 under GTK2
Adwaita 3.20 on GTK2 uses the pixmap engine to set a background image on all states of all GtkEntries. Earlier versions did the same but with a transparent background, thus not hiding our background color. Fixes #1135, fixes #1101.
This commit is contained in:
parent
fdcf860156
commit
a35816c92f
@ -20,6 +20,15 @@ widget "GeanyDialogSearch.*.geany-search-entry-no-match" style "geany-monospace"
|
||||
style "geany-search-entry-no-match-style" {
|
||||
base[NORMAL] = "#ffff66666666"
|
||||
text[NORMAL] = "#ffffffffffff"
|
||||
# try and remove the entry background image on pixmap engine so that our
|
||||
# background color is visible, and we don't end up with white text on white
|
||||
# background (workaround for Adwaita 3.20).
|
||||
engine "pixmap" {
|
||||
image {
|
||||
function = FLAT_BOX
|
||||
detail = "entry_bg"
|
||||
}
|
||||
}
|
||||
}
|
||||
widget "*.geany-search-entry-no-match" style "geany-search-entry-no-match-style"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user