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

mickey at gta01.hmw-consulting.de mickey at gta01.hmw-consulting.de
Mon Oct 30 22:04:58 CET 2006


Author: mickey
Date: 2006-10-30 21:04:57 +0000 (Mon, 30 Oct 2006)
New Revision: 156

Added:
   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-gtkbutton.png
Modified:
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokomenubox
Log:
theming: towards styling GtkTreeView


Modified: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc	2006-10-30 18:59:04 UTC (rev 155)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc	2006-10-30 21:04:57 UTC (rev 156)
@@ -26,7 +26,6 @@
     text[INSENSITIVE] = "#a69872" # very dark brown
 
     font_name = "Vera Sans 16"
-
 }
 
 # enable for final version
@@ -39,6 +38,7 @@
 include "gtkmenuitem"
 include "gtkpaned"
 include "gtkscrollbar"
+include "gtktreeview"
 
 include "mokomenubox"
 include "mokopanedwindow"

Added: 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-10-30 18:59:04 UTC (rev 155)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtktreeview	2006-10-30 21:04:57 UTC (rev 156)
@@ -0,0 +1,28 @@
+style "gtktreeview" {
+    GtkTreeView::allow_rules = 1
+    GtkTreeView::vertical_separator = 5
+    GtkTreeView::even_row_color = "#f7f7f7"
+    GtkTreeView::odd_row_color = "#e7e7e7"
+}
+class "GtkTreeView" style "gtktreeview"
+
+style "gtktreeview-button" {
+    engine "pixmap" {
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            #state           = NORMAL
+            file            = "gtktreeview-gtkbutton.png"
+            border          = { 5, 5, 5, 5 }
+            stretch         = TRUE
+        }
+    }
+}
+widget_class "*.GtkTreeView.GtkButton" style "gtktreeview-button"
+
+style "gtktreeview-button-label"
+{
+    font_name = "Vera Sans Bold 14"
+    fg[NORMAL] = "#999999"
+}
+widget "*.GtkTreeView.*.GtkLabel" style "gtktreeview-button-label"
\ No newline at end of file

Added: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtktreeview-gtkbutton.png
===================================================================
(Binary files differ)


Property changes on: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtktreeview-gtkbutton.png
___________________________________________________________________
Name: svn:mime-type
   + image/png

Modified: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokomenubox
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokomenubox	2006-10-30 18:59:04 UTC (rev 155)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokomenubox	2006-10-30 21:04:57 UTC (rev 156)
@@ -26,3 +26,16 @@
 }
 widget "*.mokomenubox-filter-menubar" style "mokomenubox-filter-menubar"
 
+style "mokomenubox-application-menubar-items" {
+    font_name = "Vera Sans 16"
+    fg[NORMAL] = "#333333"
+    fg[PRELIGHT] = "#333333"
+}
+widget "*.mokomenubox-application-menubar.*.GtkAccelLabel" style "mokomenubox-application-menubar-items"
+
+style "mokomenubox-filter-menubar-items" {
+    font_name = "Vera Sans 16"
+    fg[NORMAL] = "#ffffff"
+    fg[PRELIGHT] = "#ffffff"
+}
+widget "*.mokomenubox-filter-menubar.*.GtkAccelLabel" style "mokomenubox-filter-menubar-items"





More information about the commitlog mailing list