[gnome-themes-standard] treeview: cleanup treeview state selectors
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] treeview: cleanup treeview state selectors
- Date: Tue, 10 Apr 2012 16:36:42 +0000 (UTC)
commit 53c6d0c62eebd2d81d8dad614606239343799c38
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 10 12:30:44 2012 -0400
treeview: cleanup treeview state selectors
Don't specify both GtkTreeView and GtkTreeView.view, since we already
specify .view. This also fixes cell renderers that specify different
backgrounds for a specific state, like GtkCellRendererProgress, as
reported in
https://bugzilla.gnome.org/show_bug.cgi?id=673840
themes/Adwaita/gtk-3.0/gtk-widgets.css | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 92988fc..af04639 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2080,37 +2080,33 @@ GtkIconView.view.cell:selected:focus {
}
.view,
-GtkTreeView,
-GtkTreeView.view {
+GtkTreeView {
background-color: @theme_base_color;
color: @theme_text_color;
}
.view:selected,
-GtkTreeView.view:selected {
+GtkTreeView:selected {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
.view:insensitive,
-GtkTreeView:insensitive,
-GtkTreeView.view:insensitive {
+GtkTreeView:insensitive {
background-color: @insensitive_bg_color;
color: @insensitive_fg_color;
}
.view:backdrop,
-GtkTreeView:backdrop,
-GtkTreeView.view:backdrop {
+GtkTreeView:backdrop {
background-color: @theme_unfocused_base_color;
color: @theme_unfocused_text_color;
}
-GtkIconView.view.cell:backdrop:selected,
.cell:backdrop:selected,
+GtkIconView.view.cell:backdrop:selected,
.view:backdrop:selected,
-GtkTreeView:backdrop:selected,
-GtkTreeView.view:backdrop:selected {
+GtkTreeView:backdrop:selected {
background-color: @theme_unfocused_selected_bg_color;
color: @theme_unfocused_selected_fg_color;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]