fix xkb variant construction, patch from Tomas Cech

ticket #2119


SVN revision: 81849
This commit is contained in:
Mike Blumenkrantz 2012-12-28 22:35:10 +00:00
parent edef3aae1c
commit a5a068a358
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-12-28 Tomas Cech
* Fix construction of variant list for setxkbmap
2012-12-27 Mike Blumenkrantz
* Added action to reset filemanager

1
NEWS
View File

@ -34,3 +34,4 @@ Fixes:
* Filemanager now uses global setting option for showing desktop
icons
* Fixed error in Evry when trying to call edje functions on non-edje object
* Fix construction of variant list for setxkbmap

View File

@ -78,9 +78,8 @@ e_xkb_update(int cur_group)
eina_strbuf_append(buf, "' -variant '");
EINA_LIST_FOREACH(e_config->xkb.used_layouts, l, cl)
{
if (cl->variant)
if ((cl->variant) && (strcmp(cl->variant, "basic")))
{
if (!strcmp(cl->variant, "basic")) continue;
eina_strbuf_append(buf, cl->variant);
eina_strbuf_append(buf, ",");
}