[maemo-commits] [maemo-commits] r13600 - in projects/haf/trunk/hildon-desktop: . libhildondesktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Sep 5 15:10:52 EEST 2007
Author: jobi
Date: 2007-09-05 15:10:50 +0300 (Wed, 05 Sep 2007)
New Revision: 13600

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-area.c
Log:

2007-09-05 Johan Bilien  <johan.bilien at nokia.com>

	* libhildondesktop/hildon-home-area.c:
	- include the widgets to be batch-added in _forall



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-05 12:01:02 UTC (rev 13599)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-05 12:10:50 UTC (rev 13600)
@@ -1,3 +1,8 @@
+2007-09-05 Johan Bilien  <johan.bilien at nokia.com>
+
+	* libhildondesktop/hildon-home-area.c:
+	- include the widgets to be batch-added in _forall
+
 2007-09-05  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hd-switcher-menu.c (hd_switcher_menu_changed_info_cb): check

Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-area.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-area.c	2007-09-05 12:01:02 UTC (rev 13599)
+++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-area.c	2007-09-05 12:10:50 UTC (rev 13600)
@@ -882,6 +882,16 @@
       i = i->next;
       callback (child->widget, user_data);
     }
+
+  if (priv->batch_add)
+  {
+    i = priv->to_add;
+    while (i)
+    {
+      callback (i->data, user_data);
+      i = i->next;
+    }
+  }
 }
 
 #ifdef HAVE_X_COMPOSITE


More information about the maemo-commits mailing list