Kaydet (Commit) a35816c9 authored tarafından Colomban Wendling's avatar Colomban Wendling

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.
üst fdcf8601
......@@ -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"
......
Markdown is supported
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