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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 24 16:21:46 EEST 2007
Author: jobi
Date: 2007-09-24 16:21:44 +0300 (Mon, 24 Sep 2007)
New Revision: 14038

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

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

	* libhildondesktop/libhildonmenu.c: do not duplicate the name
	of the applications before adding to the treemodel, because the model
	does this for us. Fixes: NB#70641



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-24 13:20:13 UTC (rev 14037)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-24 13:21:44 UTC (rev 14038)
@@ -1,3 +1,9 @@
+2007-09-24 Johan Bilien  <johan.bilien at nokia.com>
+
+	* libhildondesktop/libhildonmenu.c: do not duplicate the name
+	of the applications before adding to the treemodel, because the model
+	does this for us. Fixes: NB#70641
+
 2007-09-24  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hd-switcher-menu-item.c (hd_switcher_menu_item_constructor,

Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/libhildonmenu.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildondesktop/libhildonmenu.c	2007-09-24 13:20:13 UTC (rev 14037)
+++ projects/haf/trunk/hildon-desktop/libhildondesktop/libhildonmenu.c	2007-09-24 13:21:44 UTC (rev 14038)
@@ -523,8 +523,8 @@
                        item->name,
                        TREE_MODEL_LOCALIZED_NAME,
                        (item->text_domain && *item->text_domain)?
-                         g_strdup (dgettext (item->text_domain, item->name)):
-                         g_strdup (dgettext (GETTEXT_PACKAGE,   item->name)),
+                         dgettext (item->text_domain, item->name):
+                         dgettext (GETTEXT_PACKAGE,   item->name),
                        TREE_MODEL_ICON,
                        app_icon,
                        TREE_MODEL_THUMB_ICON,


More information about the maemo-commits mailing list