[gtk-css-engine] [moblessse] Basic expander.
- From: Robert Staudinger <robsta src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk-css-engine] [moblessse] Basic expander.
- Date: Tue, 23 Jun 2009 04:03:42 -0400 (EDT)
commit 0c8537b9194aeba9801e26be5d4643731fdd56e4
Author: Robert Staudinger <robsta gnome org>
Date: Tue Jun 23 09:23:31 2009 +0200
[moblessse] Basic expander.
src/gce-style.c | 2 ++
themes/moblesse/gtk-2.0/gtkrc.css | 11 +++++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/src/gce-style.c b/src/gce-style.c
index 95813f5..2336958 100644
--- a/src/gce-style.c
+++ b/src/gce-style.c
@@ -849,7 +849,9 @@ class_init (GceStyleClass *klass)
style_class->draw_focus = draw_focus;
style_class->draw_slider = draw_slider;
style_class->draw_handle = draw_handle;
+ /* FIXME: do own expander sometimes.
style_class->draw_expander = draw_expander;
+ */
/*
draw_layout
*/
diff --git a/themes/moblesse/gtk-2.0/gtkrc.css b/themes/moblesse/gtk-2.0/gtkrc.css
index 07d0a82..e746fe2 100644
--- a/themes/moblesse/gtk-2.0/gtkrc.css
+++ b/themes/moblesse/gtk-2.0/gtkrc.css
@@ -59,6 +59,12 @@ gtk-radio-knob[shadow=in] {
background: gtk-color(selected_bg_color);
}
+/* FIXME
+gtk-stepper-up, gtk-stepper-down {
+ border: 1px solid;
+}
+*/
+
gtk-tab {
background: gtk-shade(1.05, bg_color);
border: 1px solid;
@@ -96,6 +102,11 @@ GtkEntry:selected {
color: gtk-color(selected_fg_color); /* FIXME seems not to apply. */
}
+GtkExpander:prelight {
+ background: gtk-color(selected_bg_color);
+ border: 1px solid;
+}
+
GtkMenuItem:prelight {
background: gtk-color(selected_bg_color);
color: gtk-color(selected_fg_color); /* FIXME seems not to apply. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]