Set custom selection color on no-match search entry on GTK2
Follows the GTK3 behavior, and avoid text becoming invisible if the selection background is too light (unlikely, but possible).
This commit is contained in:
parent
4b163bcdab
commit
5d74eef546
@ -20,6 +20,7 @@ widget "GeanyDialogSearch.*.geany-search-entry-no-match" style "geany-monospace"
|
|||||||
style "geany-search-entry-no-match-style" {
|
style "geany-search-entry-no-match-style" {
|
||||||
base[NORMAL] = "#ffff66666666"
|
base[NORMAL] = "#ffff66666666"
|
||||||
text[NORMAL] = "#ffffffffffff"
|
text[NORMAL] = "#ffffffffffff"
|
||||||
|
base[SELECTED] = "#777711111111"
|
||||||
# try and remove the entry background image on pixmap engine so that our
|
# 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 color is visible, and we don't end up with white text on white
|
||||||
# background (workaround for Adwaita 3.20).
|
# background (workaround for Adwaita 3.20).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user