[gnome-themes-standard] treeview: match column-header.button in addition to column-header .button
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] treeview: match column-header.button in addition to column-header .button
- Date: Tue, 18 Oct 2011 19:12:27 +0000 (UTC)
commit 261cc06476e25fb2fc61bd020a5e5f96db16a1d7
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Oct 18 15:09:52 2011 -0400
treeview: match column-header.button in addition to column-header .button
Some custom widgets render their column header as part of the canvas,
and use custom canvas items with a .button style class to simulate
button children. Support that.
This kind of behavior is seen e.g. in Evolution's ETable implementation.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 89dd21f..a56c058 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1440,6 +1440,7 @@ column-header {
padding: 1 2;
}
+column-header.button,
column-header .button {
border-width: 0 1 1 0;
border-radius: 0;
@@ -1455,6 +1456,7 @@ column-header .button GtkArrow {
color: @internal_element_color;
}
+column-header:nth-child(last).button,
column-header:nth-child(last) .button {
border-width: 0 0 1 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]