FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 04-26-2012, 12:21 PM
Vratislav Podzimek
 
Default 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
 
Old 05-03-2012, 01:20 PM
Vratislav Podzimek
 
Default 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
 

Thread Tools




All times are GMT. The time now is 11:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org