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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue May 29 18:25:36 EEST 2007
Author: moimart
Date: 2007-05-29 18:25:35 +0300 (Tue, 29 May 2007)
New Revision: 11961

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

        * libhildonwm/hd-wm.c:
        - Launch application-starting signal whenever a dummy watchable app is
        created or the first window for an existing watchable app is created.
        Fixes: NB#53974
        * libhildonwm/hd-wm-watchable-app.c:
        - If application is dummy watchable app name is localized
        "Application" (to be defined yet though)
	* ChangeLog updated.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-05-29 15:21:53 UTC (rev 11960)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-05-29 15:25:35 UTC (rev 11961)
@@ -1,3 +1,13 @@
+2007-05-29  Moises Martinez  <moises.martinez at nokia.com>
+
+	* libhildonwm/hd-wm.c:
+	- Launch application-starting signal whenever a dummy watchable app is
+	created or the first window for an existing watchable app is created.
+	Fixes: NB#53974
+	* libhildonwm/hd-wm-watchable-app.c:
+	- If application is dummy watchable app name is localized
+	"Application" (to be defined yet though)
+
 2007-05-29  Johan Bilien  <johan.bilien at nokia.com>
 
 	* src/hd-home-window.c: Do not cancel the layout mode when

Modified: projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm-watchable-app.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm-watchable-app.c	2007-05-29 15:21:53 UTC (rev 11960)
+++ projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm-watchable-app.c	2007-05-29 15:25:35 UTC (rev 11961)
@@ -127,8 +127,8 @@
     }
 
   app->icon_name  = g_strdup("qgn_list_gene_default_app"); 
-  app->app_name   = g_strdup("?");
-  app->class_name = g_strdup("?");
+  app->app_name   = g_strdup(_("Application"));
+  app->class_name = g_strdup(_("Application"));
 
   HDWM_APP_SET_FLAG (app, HDWM_APP_DUMMY);
   

Modified: projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c	2007-05-29 15:21:53 UTC (rev 11960)
+++ projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c	2007-05-29 15:25:35 UTC (rev 11961)
@@ -554,6 +554,9 @@
   if (class_hint.res_name)
     XFree(class_hint.res_name);
 
+  if (!hd_wm_watchable_app_has_any_windows (app))
+    g_signal_emit_by_name (hdwm, "application-starting", app);
+	  
   return app;
 }
 


More information about the maemo-commits mailing list