[PATCH 2/2] Use proper names for layouts with subitems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux