Author: dmeyer
Date: Tue Mar 27 18:39:41 2007
New Revision: 9398

Modified:
   trunk/ui/src/input/config.cxml
   trunk/ui/src/input/plugins/x11.py

Log:
fix keyboardmap settings

Modified: trunk/ui/src/input/config.cxml
==============================================================================
--- trunk/ui/src/input/config.cxml      (original)
+++ trunk/ui/src/input/config.cxml      Tue Mar 27 18:39:41 2007
@@ -19,9 +19,7 @@
 
     <dict name="keyboardmap" type="str">
         <desc>Keyboard mapping</desc>
-        <dict type="str">
-            <var type="str"/>
-        </dict>
+        <var type="str"/>
     </dict>
 
     <dict name="remotemap" type="str">

Modified: trunk/ui/src/input/plugins/x11.py
==============================================================================
--- trunk/ui/src/input/plugins/x11.py   (original)
+++ trunk/ui/src/input/plugins/x11.py   Tue Mar 27 18:39:41 2007
@@ -60,7 +60,7 @@
         InputPlugin.plugin_activate(self, level)
         
gui.get_display()._window.signals["key_press_event"].connect(self.handle)
         self.keymap = copy.deepcopy(KEYBOARD_MAP)
-        for key, mapping in config.input.keyboardmap:
+        for key, mapping in config.input.keyboardmap.items():
             self.keymap[key] = mapping.upper()
 
         

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to