r346 - trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0

ken_zhao at gta01.hmw-consulting.de ken_zhao at gta01.hmw-consulting.de
Fri Dec 8 03:41:11 CET 2006


Author: ken_zhao
Date: 2006-12-08 02:40:55 +0000 (Fri, 08 Dec 2006)
New Revision: 346

Modified:
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtktreeview
Log:
theme: gtktreeview: try to find a way to solve the GtkLable style on GtkTreeView.GtkButton


Modified: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtktreeview
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtktreeview	2006-12-08 00:34:38 UTC (rev 345)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtktreeview	2006-12-08 02:40:55 UTC (rev 346)
@@ -55,10 +55,15 @@
 widget_class "*.GtkTreeView.GtkButton" style "gtktreeview-button"
 
 #FIXME why does this not work with GtkTreeView, but does with MokoTreeView?
+# In mokobutton, "*.GtkButton.*" has been defined. So this style does not work.
+# GtkLabel on MokoTreeView can work because it derives from the style of MokoTreeView.
+# The possible solution is to disable GtkLable define in mokobutton 
+# and set the style like the following:
+# widget_class "*.GtkTreeView.GtkButton.*" style "gtktreeview-button-label"
+# But this will affect normal GtkButton, is there a better solution?
 style "gtktreeview-button-label"
 {
     font_name = "Vera Sans Bold 13"
     fg[NORMAL] = "#999999"
 }
 widget "*.GtkTreeView.*.GtkLabel" style "gtktreeview-button-label"
-





More information about the commitlog mailing list