[maemo-commits] [maemo-commits] r13929 - in projects/haf/trunk/hildon-input-method: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Sep 20 13:38:40 EEST 2007
Author: tjunnone
Date: 2007-09-20 13:38:39 +0300 (Thu, 20 Sep 2007)
New Revision: 13929

Modified:
   projects/haf/trunk/hildon-input-method/ChangeLog
   projects/haf/trunk/hildon-input-method/src/hildon-im-ui.c
Log:
2007-09-20  Tomas Junnonen  <tomas.junnonen at nokia.com>

        * src/hildon-im-ui.c:
        - Fixed label widget corruption in the tools menu when the
          translations are not available.


Modified: projects/haf/trunk/hildon-input-method/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-input-method/ChangeLog	2007-09-20 10:06:17 UTC (rev 13928)
+++ projects/haf/trunk/hildon-input-method/ChangeLog	2007-09-20 10:38:39 UTC (rev 13929)
@@ -1,3 +1,9 @@
+2007-09-20  Tomas Junnonen  <tomas.junnonen at nokia.com>
+
+	* src/hildon-im-ui.c:
+	- Fixed label widget corruption in the tools menu when the
+	  translations are not available.
+
 2007-09-19  Tomas Junnonen  <tomas.junnonen at nokia.com>
 
 	* src/hildon-im-ui.c: Show self on start of multi key sequence.

Modified: projects/haf/trunk/hildon-input-method/src/hildon-im-ui.c
===================================================================
--- projects/haf/trunk/hildon-input-method/src/hildon-im-ui.c	2007-09-20 10:06:17 UTC (rev 13928)
+++ projects/haf/trunk/hildon-input-method/src/hildon-im-ui.c	2007-09-20 10:38:39 UTC (rev 13929)
@@ -3899,6 +3899,9 @@
           dgettext (entry->gettext_domain, value)  :
           _(value);
 
+    if (entry->title == value)
+      entry->title = g_strdup(value);
+
     g_free(value);
     
     if (entry->type == MENU_TYPE_APPLICATION)


More information about the maemo-commits mailing list