[maemo-commits] [maemo-commits] r14350 - in projects/haf/trunk/hildon-theme-layout-4: . rc

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Oct 8 15:17:05 EEST 2007
Author: tigert
Date: 2007-10-08 15:17:03 +0300 (Mon, 08 Oct 2007)
New Revision: 14350

Modified:
   projects/haf/trunk/hildon-theme-layout-4/ChangeLog
   projects/haf/trunk/hildon-theme-layout-4/rc/gtktreeview.rc
Log:
2007-10-08  Tuomas Kuosmanen  <tuomas.kuosmanen at nokia.com>

        * rc/gtktreeview.rc: Fixed treeview headers use DefaultTextColor
        instead of button colors. Yes, it is technically a button, but it
        should use default text colors in this context. Fixes NB#72427.



Modified: projects/haf/trunk/hildon-theme-layout-4/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-10-08 11:49:55 UTC (rev 14349)
+++ projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-10-08 12:17:03 UTC (rev 14350)
@@ -1,3 +1,9 @@
+2007-10-08  Tuomas Kuosmanen  <tuomas.kuosmanen at nokia.com>
+
+	* rc/gtktreeview.rc: Fixed treeview headers use DefaultTextColor
+	instead of button colors. Yes, it is technically a button, but it
+	should use default text colors in this context. Fixes NB#72427.
+
 2007-10-05  Tuomas Kuosmanen  <tuomas.kuosmanen at nokia.com>
 
 	* rc/gtkbutton.rc: fixed style match a bit, so it actually still

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/gtktreeview.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/gtktreeview.rc	2007-10-08 11:49:55 UTC (rev 14349)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/gtktreeview.rc	2007-10-08 12:17:03 UTC (rev 14350)
@@ -493,6 +493,22 @@
 class "GtkListView" style "osso-listview"
 
 
+# listbox header text color
+style "osso-listboxheader-text-color" = "osso-color-themeing" {
+
+    fg[NORMAL] = @DefaultTextColor
+    fg[PRELIGHT] = @DefaultTextColor
+    fg[ACTIVE] = @DefaultTextColor
+    fg[SELECTED] = @DefaultTextColor
+    fg[INSENSITIVE] = @DisabledTextColor
+    text[NORMAL] = @DefaultTextColor
+    text[PRELIGHT] = @DefaultTextColor
+    text[ACTIVE] = @DefaultTextColor
+    text[SELECTED] = @DefaultTextColor
+    text[INSENSITIVE] = @DisabledTextColor
+
+}
+
 style "osso-listboxheader"
 {
   GtkButton::separator-height = 15
@@ -513,8 +529,8 @@
     }
 }
 widget_class "*.GtkTreeView.GtkButton" style "osso-listboxheader"
+widget_class "*.GtkTreeView.GtkButton.*GtkLabel" style "osso-listboxheader-text-color"
 
-
 style "osso-treeviewcolumn-sortarrow" {
 	engine "sapwood" {
 		image {


More information about the maemo-commits mailing list