[maemo-commits] [maemo-commits] r17834 - in projects/haf/trunk/gtk+: . gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Mar 27 14:23:47 EET 2009
Author: kris
Date: 2009-03-27 14:23:45 +0200 (Fri, 27 Mar 2009)
New Revision: 17834

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/gtk/gtktreeview.c
Log:
2009-03-27  Kristian Rietveld  <kris at imendio.com>

	Fixes: NB#106323 - Remove explicit 5px margin from GtkTreeView action
	area

	* gtk/gtktreeview.c (hildon_tree_view_set_action_area_orientation),
	(hildon_tree_view_create_action_area): use 0px spacing on the action
	area box.



Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2009-03-27 12:00:02 UTC (rev 17833)
+++ projects/haf/trunk/gtk+/ChangeLog	2009-03-27 12:23:45 UTC (rev 17834)
@@ -1,3 +1,12 @@
+2009-03-27  Kristian Rietveld  <kris at imendio.com>
+
+	Fixes: NB#106323 - Remove explicit 5px margin from GtkTreeView action
+	area
+
+	* gtk/gtktreeview.c (hildon_tree_view_set_action_area_orientation),
+	(hildon_tree_view_create_action_area): use 0px spacing on the action
+	area box.
+
 2009-03-26  Claudio Saavedra  <csaavedra at igalia.com>
 
 	Released 2:2.12.12-1maemo12

Modified: projects/haf/trunk/gtk+/gtk/gtktreeview.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtktreeview.c	2009-03-27 12:00:02 UTC (rev 17833)
+++ projects/haf/trunk/gtk+/gtk/gtktreeview.c	2009-03-27 12:23:45 UTC (rev 17834)
@@ -17629,9 +17629,9 @@
                      0, 0, 0, 0);
 
   if (tree_view->priv->action_area_orientation == GTK_ORIENTATION_HORIZONTAL)
-    tree_view->priv->action_area_box = gtk_hbox_new (TRUE, 5);
+    tree_view->priv->action_area_box = gtk_hbox_new (TRUE, 0);
   else if (tree_view->priv->action_area_orientation == GTK_ORIENTATION_VERTICAL)
-    tree_view->priv->action_area_box = gtk_vbox_new (TRUE, 5);
+    tree_view->priv->action_area_box = gtk_vbox_new (TRUE, 0);
 
   gtk_container_add (GTK_CONTAINER (tree_view->priv->action_area_event_box),
                      tree_view->priv->action_area_box);
@@ -17760,9 +17760,9 @@
 
   old_box = tree_view->priv->action_area_box;
   if (orientation == GTK_ORIENTATION_HORIZONTAL)
-    new_box = gtk_hbox_new (TRUE, 5);
+    new_box = gtk_hbox_new (TRUE, 0);
   else if (orientation == GTK_ORIENTATION_VERTICAL)
-    new_box = gtk_vbox_new (TRUE, 5);
+    new_box = gtk_vbox_new (TRUE, 0);
 
   if (tree_view->priv->action_area_visible)
     hildon_tree_view_set_action_area_height (tree_view);


More information about the maemo-commits mailing list