oh gah.. dont show dialog.. if there is nothing to complain about.

SVN revision: 60814
This commit is contained in:
Carsten Haitzler 2011-06-29 13:22:16 +00:00
parent 3027c3a6c6
commit 21127bf39d
1 changed files with 12 additions and 10 deletions

View File

@ -724,7 +724,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
/* Add codeset to the region hash node if it exists */ /* Add codeset to the region hash node if it exists */
if (locale_parts->codeset) if (locale_parts->codeset)
{ {
const char * cs; const char * cs = NULL;
const char * cs_trans; const char * cs_trans;
cs_trans = _intl_charset_upper_get(locale_parts->codeset); cs_trans = _intl_charset_upper_get(locale_parts->codeset);
@ -737,6 +737,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
/* Linear Search */ /* Linear Search */
if (!eina_list_data_find(region_node->available_codesets, cs)) if (!eina_list_data_find(region_node->available_codesets, cs))
region_node->available_codesets = eina_list_append(region_node->available_codesets, cs); region_node->available_codesets = eina_list_append(region_node->available_codesets, cs);
else eina_stringshare_del(cs);
} }
/* Add modifier to the region hash node if it exists */ /* Add modifier to the region hash node if it exists */
@ -869,6 +870,7 @@ _lc_check(void)
if (getenv("LC_NUMERIC")) strcat(buf, "LC_NUMERIC<br>"); if (getenv("LC_NUMERIC")) strcat(buf, "LC_NUMERIC<br>");
if (getenv("LC_TIME")) strcat(buf, "LC_TIME<br>"); if (getenv("LC_TIME")) strcat(buf, "LC_TIME<br>");
if (buf[0] != 0)
e_util_dialog_show(_("Possible Locale problems"), e_util_dialog_show(_("Possible Locale problems"),
_("You have some extra locale environment<br>" _("You have some extra locale environment<br>"
"variables set that may interfere with<br>" "variables set that may interfere with<br>"