[maemo-commits] [maemo-commits] r11112 - in projects/haf/trunk/sapwood: . demos

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Apr 17 15:28:30 EEST 2007
Author: xan
Date: 2007-04-17 15:28:29 +0300 (Tue, 17 Apr 2007)
New Revision: 11112

Modified:
   projects/haf/trunk/sapwood/ChangeLog
   projects/haf/trunk/sapwood/README
   projects/haf/trunk/sapwood/demos/buttonbox.gtkrc
Log:
	* README:
	* demos/buttonbox.gtkrc:

	Update the documentation and the demo to take into account maemo-position-theming.


Modified: projects/haf/trunk/sapwood/ChangeLog
===================================================================
--- projects/haf/trunk/sapwood/ChangeLog	2007-04-17 11:43:28 UTC (rev 11111)
+++ projects/haf/trunk/sapwood/ChangeLog	2007-04-17 12:28:29 UTC (rev 11112)
@@ -1,5 +1,12 @@
 2007-04-17  Xan Lopez  <xan.lopez at nokia.com>
 
+	* README:
+	* demos/buttonbox.gtkrc:
+
+	Update the documentation and the demo to take into account maemo-position-theming.
+	
+2007-04-17  Xan Lopez  <xan.lopez at nokia.com>
+
 	* src/sapwood-draw.c (draw_simple_image): Check that the maemo-position-theming
 	property exists before accessing it.
 

Modified: projects/haf/trunk/sapwood/README
===================================================================
--- projects/haf/trunk/sapwood/README	2007-04-17 11:43:28 UTC (rev 11111)
+++ projects/haf/trunk/sapwood/README	2007-04-17 12:28:29 UTC (rev 11112)
@@ -220,7 +220,8 @@
 BOTTOM when the widget is leftmost, rightmost, topmost, or bottommost
 respectively.
 
-Used only for buttons in button boxes.
+You'll need to set the "maemo-position-theming" property of the widgets' parent to
+TRUE for this data to be set in sapwood.
 
 See demos/buttonbox.gtkrc
 

Modified: projects/haf/trunk/sapwood/demos/buttonbox.gtkrc
===================================================================
--- projects/haf/trunk/sapwood/demos/buttonbox.gtkrc	2007-04-17 11:43:28 UTC (rev 11111)
+++ projects/haf/trunk/sapwood/demos/buttonbox.gtkrc	2007-04-17 12:28:29 UTC (rev 11112)
@@ -1,6 +1,12 @@
 # vim:set ft=gtkrc sw=2 sts=2 expandtab:
 pixmap_path "images"
 
+style "container" {
+  GtkWidget::maemo-position-theming = 1
+}
+
+class "GtkButtonBox" style "container"
+
 style "button" {
   GtkButton::child-displacement-x = -2
   GtkButton::child-displacement-y = 1


More information about the maemo-commits mailing list