[gtk/gtk-3-24: 2/5] win32 theme: fix disabled GtkEntry style




commit bfe7a57b768c7865fcee55cb1d091b8b16158df3
Author: Jaime Velasco Juan <jsagarribay gmail com>
Date:   Thu Oct 20 11:00:09 2016 +0100

    win32 theme: fix disabled GtkEntry style

 gtk/theme/win32/gtk-win32-base.css | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gtk/theme/win32/gtk-win32-base.css b/gtk/theme/win32/gtk-win32-base.css
index e0a7bca9b9..20dbe7c575 100644
--- a/gtk/theme/win32/gtk-win32-base.css
+++ b/gtk/theme/win32/gtk-win32-base.css
@@ -690,7 +690,9 @@ entry:focus {
 
 textview.view:disabled,
 entry:disabled {
-    background-image: -gtk-win32-theme-part(edit, 1, 4);
+    /* This theme part feels wrong here, but it looks as one would expect,
+     whereas (edit, 5, 3) BACKGROUNDWITHBORDER, EBS_DISABLED is just white */
+    background-image: -gtk-win32-theme-part(combobox, 5, 4);
     color: -gtk-win32-color(edit, graytext);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]