Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sat, 16 Jul 2016 01:27:43 UTC Commit: a35816c92fe5d43a65b3bfd83740690ce84f7420 https://github.com/geany/geany/commit/a35816c92fe5d43a65b3bfd83740690ce84f74...
Log Message: ----------- 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.
Modified Paths: -------------- data/geany.gtkrc
Modified: data/geany.gtkrc 9 lines changed, 9 insertions(+), 0 deletions(-) =================================================================== @@ -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"
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).