forked from enlightenment/enlightenment
fix xkb variant construction, patch from Tomas Cech
ticket #2119 SVN revision: 81849
This commit is contained in:
parent
edef3aae1c
commit
a5a068a358
|
@ -1,3 +1,7 @@
|
||||||
|
2012-12-28 Tomas Cech
|
||||||
|
|
||||||
|
* Fix construction of variant list for setxkbmap
|
||||||
|
|
||||||
2012-12-27 Mike Blumenkrantz
|
2012-12-27 Mike Blumenkrantz
|
||||||
|
|
||||||
* Added action to reset filemanager
|
* Added action to reset filemanager
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -34,3 +34,4 @@ Fixes:
|
||||||
* Filemanager now uses global setting option for showing desktop
|
* Filemanager now uses global setting option for showing desktop
|
||||||
icons
|
icons
|
||||||
* Fixed error in Evry when trying to call edje functions on non-edje object
|
* Fixed error in Evry when trying to call edje functions on non-edje object
|
||||||
|
* Fix construction of variant list for setxkbmap
|
||||||
|
|
|
@ -78,9 +78,8 @@ e_xkb_update(int cur_group)
|
||||||
eina_strbuf_append(buf, "' -variant '");
|
eina_strbuf_append(buf, "' -variant '");
|
||||||
EINA_LIST_FOREACH(e_config->xkb.used_layouts, l, cl)
|
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, cl->variant);
|
||||||
eina_strbuf_append(buf, ",");
|
eina_strbuf_append(buf, ",");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue