forked from enlightenment/enlightenment
oh gah.. dont show dialog.. if there is nothing to complain about.
SVN revision: 60814
This commit is contained in:
parent
3027c3a6c6
commit
21127bf39d
|
@ -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,15 +870,16 @@ _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>");
|
||||||
|
|
||||||
e_util_dialog_show(_("Possible Locale problems"),
|
if (buf[0] != 0)
|
||||||
_("You have some extra locale environment<br>"
|
e_util_dialog_show(_("Possible Locale problems"),
|
||||||
"variables set that may interfere with<br>"
|
_("You have some extra locale environment<br>"
|
||||||
"correct display of your chosen language.<br>"
|
"variables set that may interfere with<br>"
|
||||||
"If you don't want these affected, use the<br>"
|
"correct display of your chosen language.<br>"
|
||||||
"Enviornment variable settings to unset them.<br>"
|
"If you don't want these affected, use the<br>"
|
||||||
"The variables that may affect you are<br>"
|
"Enviornment variable settings to unset them.<br>"
|
||||||
"as follows:<br>"
|
"The variables that may affect you are<br>"
|
||||||
"%s"), buf);
|
"as follows:<br>"
|
||||||
|
"%s"), buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in New Issue