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

thomas at sita.openmoko.org thomas at sita.openmoko.org
Thu May 17 11:59:30 CEST 2007


Author: thomas
Date: 2007-05-17 11:59:28 +0200 (Thu, 17 May 2007)
New Revision: 1993

Added:
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/fieldcombo-normal.png
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/fieldentry.png
Modified:
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/contactspane
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane
Log:
Patch from: Neil J Patel <njp at o-hand.com>

* Updates the contactspane rc file so it will use the new fieldentry and
  fieldcombo-normal images, depending on state.
* Makes the font size of the fieldcombo the same as everything else in the
  pane.
* Makes checkboxes visible when active.



Modified: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/contactspane
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/contactspane	2007-05-17 09:55:54 UTC (rev 1992)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/contactspane	2007-05-17 09:59:28 UTC (rev 1993)
@@ -1,23 +1,84 @@
 
 style "fieldcombo" {
+        xthickness = 4
 	engine "pixmap" {
+
 		image {
 			function = BOX
+			file = "fieldcombo-normal.png"
+			stretch = TRUE
+			state = NORMAL
+			border = { 22, 22, 21, 24 }
+		}
+		image {
+			function = BOX
 			file = "field_widget_bg.png"
 			stretch = TRUE
+			state = ACTIVE
 			border = { 22, 22, 21, 24 }
 		}
 		image {
+			function = BOX
+			file = "field_widget_bg.png"
+			stretch = TRUE
+			state = PRELIGHT
+			border = { 22, 22, 21, 24 }
+		}
+		image {
+			function = BOX
+			file = "field_widget_bg.png"
+			stretch = TRUE
+			state = INSENSITIVE
+			border = { 22, 22, 21, 24 }
+		}				        
+        	image {
 			function = VLINE
 		}
 		image {
 			function = ARROW
 		}
 	}
+	font_name = "Vera Sans 16"
+	text[NORMAL] = "#666"
+	text[ACTIVE] = "#FFF"
+	text[SELECTED] = "#FFF"
+	text[PRELIGHT] = "#FFF"
+	
 }
 widget "*.ContactsContactPane.*.GtkComboBox.*" style "fieldcombo"
 
+style "fieldentry" {
+        xthickness = 15
+        ythickness = 6
+        engine "pixmap" {
+                image {
+                        function        = SHADOW
+                        shadow          = IN
+                        file            = "fieldentry.png"
+                        recolorable     = TRUE
+                        border          = { 17, 17, 15, 15 }
+                }
+        }
+        GtkEntry::inner-border  = { 0, 0, 0, 0 }
+        text[NORMAL] = "#000000"
+        base[NORMAL] = "#ffeddb"
+        fg[NORMAL] = "#000000"
+        text[INSENSITIVE] = "#223344" # dark grey
+	
+}
+widget_class "*.ContactsContactPane.*.GtkEntry*" style "fieldentry"
 
+style "fieldlabel" {
+        xthickness = 4
+        font_name = "Vera Sans 16"
+        text[NORMAL] = "#666"
+        fg[NORMAL] = "#666"
+	fg[ACTIVE] = "#FFF"
+	fg[SELECTED] = "#FFF"
+	fg[PRELIGHT] = "#F87C00"        
+}
+widget "*.fieldlabel" style "fieldlabel"
+
 style "addbutton" {
 	xthickness = 0
 	ythickness = 0

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


Property changes on: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/fieldcombo-normal.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

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


Property changes on: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/fieldentry.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane	2007-05-17 09:55:54 UTC (rev 1992)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane	2007-05-17 09:59:28 UTC (rev 1993)
@@ -66,6 +66,7 @@
 style "mokoscrolledpane" {
     bg[NORMAL] = "#e5e5e5"
     fg[NORMAL] = "#000"
+    fg[ACTIVE] = "#000"
     bg_pixmap[NORMAL] = ""
 }
 widget "*.MokoScrolledPane.*" style "mokoscrolledpane"





More information about the commitlog mailing list