[maemo-commits] [maemo-commits] r10667 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Mar 20 17:51:49 EET 2007
Author: moimart
Date: 2007-03-20 17:51:47 +0200 (Tue, 20 Mar 2007)
New Revision: 10667

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c
Log:

	* src/hn-app-switcher.c:
        - Support for changing number of items on the fly. Cleanup.
	* ChangeLog updated.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-03-20 15:40:31 UTC (rev 10666)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-03-20 15:51:47 UTC (rev 10667)
@@ -1,3 +1,8 @@
+2007-03-20  Moises Martinez  <moises.martinez at nokia.com>
+
+	* src/hn-app-switcher.c:
+	- Support for changing number of items on the fly. Cleanup.
+
 2007-03-20  Johan Bilien  <johan.bilien at nokia.com>
 
 	* libhildondesktop/hildon-desktop-panel-window-dialog.c:

Modified: projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c	2007-03-20 15:40:31 UTC (rev 10666)
+++ projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c	2007-03-20 15:51:47 UTC (rev 10667)
@@ -148,7 +148,7 @@
 hn_app_switcher_show_menu_cb (HDWM *hdwm, gpointer data);
 
 static void 
-hn_app_switcher_orientation_changed_cb (HNAppSwitcher *app_switcher, GParamSpec *pspec);
+hn_app_switcher_orientation_changed_cb (HNAppSwitcher *app_switcher);
 
 static void 
 hn_app_switcher_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec);
@@ -1044,8 +1044,7 @@
 }
 
 static void 
-hn_app_switcher_orientation_changed_cb (HNAppSwitcher *app_switcher, 
-					GParamSpec *pspec)
+hn_app_switcher_orientation_changed_cb (HNAppSwitcher *app_switcher) 
 {
   GList *children,*iter;
   
@@ -1984,6 +1983,7 @@
   {
     case AS_PROP_NITEMS:	   
       app_switcher->priv->nitems = g_value_get_int (value);
+      hn_app_switcher_orientation_changed_cb (app_switcher);
       break;
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);


More information about the maemo-commits mailing list