diff --git a/NEWS b/NEWS index cfbcae42923f33d71bf6091b3a474c81e69cdd5a..7c1609e35b49767a7adcda03baba51d1b7fd9893 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,8 @@ (bug #3545). - Prevent falling back to an unexpected locale (bug #4746). Patch by Martin Jürgens and Mark Trompell. +- Show translated names of desktop files (bug #7393). + Fix by Lionel Le Folgoc<lionel@lefolgoc.net>. 1.3.0 ===== diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c index 2731ca9113e95e08e67d0dd2925a9f6e00d99d3f..9e5393c5d15e9f224b4b1f3f5e56f91c58929c86 100644 --- a/thunar/thunar-file.c +++ b/thunar/thunar-file.c @@ -825,10 +825,10 @@ thunar_file_load (ThunarFile *file, /* read the display name from the .desktop file (will be overwritten later * if it's undefined here) */ - file->display_name = g_key_file_get_string (key_file, - G_KEY_FILE_DESKTOP_GROUP, - G_KEY_FILE_DESKTOP_KEY_NAME, - NULL); + file->display_name = g_key_file_get_locale_string (key_file, + G_KEY_FILE_DESKTOP_GROUP, + G_KEY_FILE_DESKTOP_KEY_NAME, + NULL, NULL); /* check if we have a display name now */ if (file->display_name != NULL)