[gtk+] W32: Give unfocused selected list items special background, like Explorer does
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] W32: Give unfocused selected list items special background, like Explorer does
- Date: Fri, 4 Apr 2014 08:00:16 +0000 (UTC)
commit 3540e6ca5756daa6b7b4666ba9aad59191bc746c
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Wed Apr 2 17:42:31 2014 +0000
W32: Give unfocused selected list items special background, like Explorer does
https://bugzilla.gnome.org/show_bug.cgi?id=727244
gtk/resources/theme/gtk-win32.css | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gtk/resources/theme/gtk-win32.css b/gtk/resources/theme/gtk-win32.css
index ce76a2b..f0fd0b6 100644
--- a/gtk/resources/theme/gtk-win32.css
+++ b/gtk/resources/theme/gtk-win32.css
@@ -328,10 +328,14 @@
}
.list-row:selected {
+ background-color: transparent;
/* Override *:selected {} blanket style, keeping the background - bright
and the text - dark */
- background-color: transparent;
color: @text_color;
+ background-image: -gtk-win32-theme-part(listview, 6 13);
+}
+
+.list-row:selected:focus {
background-image: -gtk-win32-theme-part(listview, 6 11);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]