Index: libxfce4util/xfce-desktopentry.c =================================================================== --- libxfce4util/xfce-desktopentry.c (revision 21998) +++ libxfce4util/xfce-desktopentry.c (working copy) @@ -300,11 +300,11 @@ in_d_e_section = TRUE; } else if (**p == '[' && g_ascii_strncasecmp(*p, "[Desktop Entry]", 15)) - in_d_e_section = FALSE; - + in_d_e_section = FALSE; +#if 0 if (!in_d_e_section) continue; - +#endif if (!parse_desktop_entry_line (*p, §ion, &key, &value, &locale)) continue; @@ -324,13 +324,13 @@ if (current_locale != NULL && locale != NULL) { gint match = xfce_locale_match (current_locale, locale); - if (match > locale_matched) + if ((match > locale_matched) && (in_d_e_section || !item->translated_value)) { g_free (item->translated_value); item->translated_value = g_strdup (value); } } - else + else if (in_d_e_section || !item->value) { g_free (item->value); item->value = g_strdup (value);