[maemo-commits] [maemo-commits] r14380 - in projects/haf/trunk/hildon-desktop: . libhildonwm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Oct 9 15:24:44 EEST 2007
Author: moimart
Date: 2007-10-09 15:24:43 +0300 (Tue, 09 Oct 2007)
New Revision: 14380

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c
Log:
2007-10-09  Moises Martinez  <moises.martinez at nokia.com>

        * libhildonwm/hd-wm.c: (hd_wm_prepare_close_application_dialog):
        - Use the new HD_WM_ENTRY_INFO semantics. The list of applications
        contains applications not windows. Fixes: NB#72499
	* ChangeLog updated.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-10-09 10:57:51 UTC (rev 14379)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-10-09 12:24:43 UTC (rev 14380)
@@ -1,3 +1,9 @@
+2007-10-09  Moises Martinez  <moises.martinez at nokia.com>
+
+	* libhildonwm/hd-wm.c: (hd_wm_prepare_close_application_dialog):
+	- Use the new HD_WM_ENTRY_INFO semantics. The list of applications
+	contains applications not windows. Fixes: NB#72499
+
 2007-10-08  Johan Bilien  <johan.bilien at nokia.com>
 
 	* configure.ac: 0.0.42

Modified: projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c	2007-10-09 10:57:51 UTC (rev 14379)
+++ projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c	2007-10-09 12:24:43 UTC (rev 14380)
@@ -349,7 +349,7 @@
     HDWMCADItem *item;
 
     info = HD_WM_ENTRY_INFO (l->data);
-    win = HD_WM_IS_WINDOW (info) ? HD_WM_WINDOW (info) : NULL;
+    win = hd_wm_application_get_active_window (HD_WM_APPLICATION (info));
 
     if (win == NULL)
     {
@@ -359,7 +359,7 @@
       continue;
     }
 
-    app = hd_wm_window_get_application(win);
+    app = HD_WM_APPLICATION (info);
       
     if (app == NULL)
     {
@@ -1121,6 +1121,8 @@
   memset(hdwm->priv, 0, sizeof(HDWMPrivate));
 
   hdwm->priv->init_dbus = TRUE;
+
+  hdwm->priv->lowmem_situation = FALSE;
   
   /* Check for configurable lowmem values. */
 


More information about the maemo-commits mailing list