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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Mar 5 12:22:51 EET 2008
Author: kris
Date: 2008-03-05 12:22:47 +0200 (Wed, 05 Mar 2008)
New Revision: 15246

Added:
   projects/haf/trunk/hildon-theme-layout-4/rc/gtkcellview.rc
Modified:
   projects/haf/trunk/hildon-theme-layout-4/ChangeLog
   projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am
   projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.rc
Log:
2008-03-05  Kristian Rietveld  <kris at imendio.com>

	* rc/gtkcellview.rc:
	* rc/Makefile.am:
	* rc/gtkrc.rc: Add engine images for the cell renderer details,
	like the style for GtkTreeView does.  Fixes MB#1121.



Modified: projects/haf/trunk/hildon-theme-layout-4/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2008-03-04 17:53:49 UTC (rev 15245)
+++ projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2008-03-05 10:22:47 UTC (rev 15246)
@@ -1,3 +1,10 @@
+2008-03-05  Kristian Rietveld  <kris at imendio.com>
+
+	* rc/gtkcellview.rc:
+	* rc/Makefile.am:
+	* rc/gtkrc.rc: Add engine images for the cell renderer details,
+	like the style for GtkTreeView does.  Fixes MB#1121.
+
 2007-11-23  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
 
 	[0.14.7-1 release]

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am	2008-03-04 17:53:49 UTC (rev 15245)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am	2008-03-05 10:22:47 UTC (rev 15246)
@@ -8,6 +8,7 @@
 					  defaultarrows.rc 		\
 					  gtkbutton.rc 			\
 					  gtkbuttonbox.rc 		\
+					  gtkcellview.rc		\
 					  gtkcheckbutton.rc 		\
 					  gtkcheckmenuitem.rc 		\
 					  gtkcombobox.rc 		\

Added: projects/haf/trunk/hildon-theme-layout-4/rc/gtkcellview.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/gtkcellview.rc	2008-03-04 17:53:49 UTC (rev 15245)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/gtkcellview.rc	2008-03-05 10:22:47 UTC (rev 15246)
@@ -0,0 +1,143 @@
+# Copyright Nokia Corporation 2007
+# Licensed under Creative Commons Attribution-ShareAlike 2.5 license
+
+# Theming for GtkCellView
+
+style "osso-cellview"
+{
+  engine "sapwood"
+  {
+    image
+      {
+        function        = CHECK
+        state           = INSENSITIVE
+        shadow          = IN
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_selected_disabled.png"
+        
+        overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = CHECK
+        state           = SELECTED
+        shadow          = IN
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_selected_focused.png"
+        overlay_stretch = FALSE
+      }  
+    image
+      {
+        function        = CHECK
+        state           = ACTIVE
+        shadow          = IN
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_selected_focused.png"
+        overlay_stretch = FALSE
+      }  
+    image
+      {
+        function        = CHECK
+        state           = PRELIGHT
+        shadow          = IN
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_selected_normal.png"
+        overlay_stretch = FALSE
+      }  
+    image
+      {
+        function        = CHECK
+        state           = NORMAL
+        shadow          = IN
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_selected_normal.png"
+        overlay_stretch = FALSE
+      }  
+    image
+      {
+        function        = CHECK
+        state           = INSENSITIVE
+        shadow          = OUT
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_empty_disabled.png"
+        overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = CHECK
+        state           = SELECTED
+        shadow          = OUT
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_empty_focused.png"
+        overlay_stretch = FALSE
+      }  
+    image
+      {
+        function        = CHECK
+        state           = ACTIVE
+        shadow          = OUT
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_empty_focused.png"
+        overlay_stretch = FALSE
+      }  
+    image
+      {
+        function        = CHECK
+        state           = PRELIGHT
+        shadow          = OUT
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_empty_normal.png"
+        overlay_stretch = FALSE
+      }  
+    image
+      {
+        function        = CHECK
+        state           = NORMAL
+        shadow          = OUT
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_empty_normal.png"
+        overlay_stretch = FALSE
+      }  
+    image
+      {
+        function        = CHECK
+        state           = NORMAL
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_empty_normal.png"
+        overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = CHECK
+        state           = PRELIGHT
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_empty_normal.png"
+        overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = CHECK
+        state           = ACTIVE
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_selected_normal.png"
+        overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = CHECK
+        state           = SELECTED
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_selected_normal.png"
+        overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = CHECK
+        state           = INSENSITIVE
+        detail          = "cellcheck"
+        overlay_file    = "../images/qgn_plat_check_box_empty_normal.png"
+        overlay_stretch = FALSE
+      }
+  }
+}
+class "GtkCellView" style "osso-cellview"

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.rc	2008-03-04 17:53:49 UTC (rev 15245)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.rc	2008-03-05 10:22:47 UTC (rev 15246)
@@ -10,6 +10,7 @@
 
 include "gtkbutton.rc"
 include "gtkbuttonbox.rc"
+include "gtkcellview.rc"
 include "gtkcheckbutton.rc"
 include "gtkcheckmenuitem.rc"
 include "gtkcombobox.rc"


More information about the maemo-commits mailing list