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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Oct 9 15:36:29 EEST 2007
Author: moimart
Date: 2007-10-09 15:36:27 +0300 (Tue, 09 Oct 2007)
New Revision: 14382

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

        * libhildonwm/hd-wm-application.c: (hd_wm_application_new):
        - If not icon provided at all fallback to default.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-10-09 12:28:29 UTC (rev 14381)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-10-09 12:36:27 UTC (rev 14382)
@@ -1,5 +1,10 @@
 2007-10-09  Moises Martinez  <moises.martinez at nokia.com>
 
+	* libhildonwm/hd-wm-application.c: (hd_wm_application_new):
+	- If not icon provided at all fallback to default.
+
+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

Modified: projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm-application.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm-application.c	2007-10-09 12:28:29 UTC (rev 14381)
+++ projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm-application.c	2007-10-09 12:36:27 UTC (rev 14382)
@@ -601,8 +601,12 @@
 
       g_free (app_name);
     }
-  
-  app->priv->icon_name      = icon_name; 
+ 
+  if (icon_name) 
+    app->priv->icon_name = icon_name; 
+  else
+    app->priv->icon_name = g_strdup("qgn_list_gene_default_app");
+
   app->priv->service        = service;    
   app->priv->exec_name      = exec_name;
   app->priv->text_domain    = text_domain;


More information about the maemo-commits mailing list