GNOME Bugzilla – Bug 519232
iagno cannot show menu strings on Japanese locales
Last modified: 2009-12-11 02:10:39 UTC
iagno cannot show menu strings on Japanese locales. To reproduce: 1. Invoke iagno on ja_JP.UTF-8. Then menu strings are not shown completely. I'm attaching the snapshot and the patch.
Created attachment 106141 [details] Snapshot of this problem
Created attachment 106142 [details] [review] Patch for iagno/gnothello.c It seems a regression of bugzilla 426246. After I copied the code of gtk_window_configure_event() in gtk/gtkwindow.c into gnome-games/iagno/gnothello.c, this problem does not occur. gdk_window_thaw_toplevel_updates_libgtk_only() is needed for Japanese locales as the attached patch.
I tried the patch in comment #2, and when setting LANG=ja_JP.UTF-8 the menus are still shown in English, not Japanese as I would expect.
Probably you don't have the translated message files. I can see the localized mene items with this patch. I reopened the bug since the patch is not integrated yet.
Created attachment 106462 [details] Screenshot I reported for this bug in bug 444602 comment #61. and I made a patch in there too. Please see screen shot. My system is Fedora 8, gnome 2.20.3 and ggz 0.0.14.1.
The patch of bug 444602 is interesting. --- gnome-games-2.21.92/iagno/gnothello.c.orig 2008-03-04 23:27:10.131406000 +0900 +++ gnome-games-2.21.92/iagno/gnothello.c 2008-03-04 23:28:45.659982000 +0900 @@ -644,7 +644,7 @@ create_window (void) BOARDWIDTH, BOARDHEIGHT); g_signal_connect (G_OBJECT (drawing_area), "expose_event", G_CALLBACK (expose_event), NULL); - g_signal_connect (G_OBJECT (window), "configure_event", + g_signal_connect (G_OBJECT (drawing_area), "configure_event", G_CALLBACK (configure_event), NULL); g_signal_connect (G_OBJECT (drawing_area), "button_press_event", G_CALLBACK (button_press_event), NULL); The patch also can fix this bug. Either my patch or this patch is ok with me.
This is not happening any more, is it? "LANG=zh_CN.UTF-8 iagno" works ok for 2.28.1.
Yes, this is no longer reproduced. I confirmed Fedora and OpenSolaris.
Fixed per reporter's comment. Closing.