2008/5/29 Ed Leafe <[EMAIL PROTECTED]>: > Can you tell me what you get if you change _redefine() to add this > debugging? > > print "CAP", type(cap) > print "HK", type(hk) > print "CURR", type(curr)
I added the content: print "CAP", cap, type(cap) print "HK", hk, type(hk) print "CURR", curr, type(curr) CAP Ctrl+D <type 'str'> HK Ctrl+D <type 'str'> CURR dMenuItem <type 'unicode'> CAP Kommandofenster Ctrl+D <type 'str'> HK Ctrl+D <type 'str'> CURR Ctrl+D <type 'unicode'> CAP Ctrl+W <type 'str'> HK Ctrl+W <type 'str'> CURR dMenuItem <type 'unicode'> CAP Fenster Schliessen Ctrl+W <type 'str'> HK Ctrl+W <type 'str'> CURR Ctrl+W <type 'unicode'> CAP Ctrl+Q <type 'str'> HK Ctrl+Q <type 'str'> CURR dMenuItem <type 'unicode'> CAP &Quit Ctrl+Q <type 'unicode'> HK Ctrl+Q <type 'str'> CURR Ctrl+Q <type 'unicode'> CAP Ctrl+Z <type 'str'> HK Ctrl+Z <type 'str'> CURR dMenuItem <type 'unicode'> CAP &Rückgängig: Ctrl+Z <type 'str'> HK Ctrl+Z <type 'str'> CURR Ctrl+Z <type 'unicode'> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/dabo/dabo/ui/uiwx/dMenuItem.py:80: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if cap != curr: CAP Ctrl+R <type 'str'> HK Ctrl+R <type 'str'> CURR dMenuItem <type 'unicode'> CAP &Wiederholen: Ctrl+R <type 'str'> HK Ctrl+R <type 'str'> CURR Ctrl+R <type 'unicode'> CAP Ctrl+X <type 'str'> HK Ctrl+X <type 'str'> CURR dMenuItem <type 'unicode'> CAP A&usschneiden Ctrl+X <type 'str'> HK Ctrl+X <type 'str'> CURR Ctrl+X <type 'unicode'> CAP Ctrl+C <type 'str'> HK Ctrl+C <type 'str'> CURR dMenuItem <type 'unicode'> CAP &Kopieren Ctrl+C <type 'str'> HK Ctrl+C <type 'str'> CURR Ctrl+C <type 'unicode'> CAP Ctrl+V <type 'str'> HK Ctrl+V <type 'str'> CURR dMenuItem <type 'unicode'> CAP Ein&fügen Ctrl+V <type 'str'> HK Ctrl+V <type 'str'> CURR Ctrl+V <type 'unicode'> CAP Ctrl+A <type 'str'> HK Ctrl+A <type 'str'> CURR dMenuItem <type 'unicode'> CAP &Alle auswählen Ctrl+A <type 'str'> HK Ctrl+A <type 'str'> CURR Ctrl+A <type 'unicode'> CAP Ctrl+F <type 'str'> HK Ctrl+F <type 'str'> CURR dMenuItem <type 'unicode'> CAP &Suchen / Ersetzen Ctrl+F <type 'str'> HK Ctrl+F <type 'str'> CURR Ctrl+F <type 'unicode'> CAP Ctrl+G <type 'str'> HK Ctrl+G <type 'str'> CURR dMenuItem <type 'unicode'> CAP Erneut Suchen Ctrl+G <type 'str'> HK Ctrl+G <type 'str'> CURR Ctrl+G <type 'unicode'> CAP &Einstellungen <type 'str'> HK None <type 'NoneType'> CURR dMenuItem <type 'unicode'> CAP Ctrl++ <type 'str'> HK Ctrl++ <type 'str'> CURR dMenuItem <type 'unicode'> CAP Vergrössere Font Ctrl++ <type 'str'> HK Ctrl++ <type 'str'> CURR Ctrl++ <type 'unicode'> CAP Ctrl+- <type 'str'> HK Ctrl+- <type 'str'> CURR dMenuItem <type 'unicode'> CAP Schriftgrösse verkleinern Ctrl+- <type 'str'> HK Ctrl+- <type 'str'> CURR Ctrl+- <type 'unicode'> CAP Ctrl+/ <type 'str'> HK Ctrl+/ <type 'str'> CURR dMenuItem <type 'unicode'> CAP Normale Schriftgrösse Ctrl+/ <type 'str'> HK Ctrl+/ <type 'str'> CURR Ctrl+/ <type 'unicode'> CAP Ctrl+L <type 'str'> HK Ctrl+L <type 'str'> CURR dMenuItem <type 'unicode'> CAP Show/Hide Sizer &Lines Ctrl+L <type 'unicode'> HK Ctrl+L <type 'str'> CURR Ctrl+L <type 'unicode'> CAP &Über... TerraTool <type 'str'> HK None <type 'NoneType'> CURR dMenuItem <type 'unicode'> Greetlings, Hraban _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
