If a layout has subitem, then its name accepted by libgnomekbd
looks like "item.name (subitem.name)".
---
pyanaconda/xklavier.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/xklavier.py b/pyanaconda/xklavier.py
index 97ca30a..e2f2e18 100755
--- a/pyanaconda/xklavier.py
+++ b/pyanaconda/xklavier.py
@@ -76,7 +76,7 @@ class XklWrapper(object):
variants = list()
if subitem:
- name = item_str(subitem.name)
+ name = item_str(item.name) + " (" + item_str(subitem.name) + ")"
description = item_str(subitem.description)
else:
name = item_str(item.name)
--
1.7.4.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
05-03-2012, 01:20 PM
Vratislav Podzimek
Use proper names for layouts with subitems
If a layout has subitem, then its name accepted by libgnomekbd
looks like "item.name (subitem.name)".
---
pyanaconda/xklavier.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/xklavier.py b/pyanaconda/xklavier.py
index 97ca30a..e2f2e18 100755
--- a/pyanaconda/xklavier.py
+++ b/pyanaconda/xklavier.py
@@ -76,7 +76,7 @@ class XklWrapper(object):
variants = list()
if subitem:
- name = item_str(subitem.name)
+ name = item_str(item.name) + " (" + item_str(subitem.name) + ")"
description = item_str(subitem.description)
else:
name = item_str(item.name)
--
1.7.4.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list