[Thoughtstream-cvs] thoughtstream/thoughtstream/wx frame.py,1.9,1.10
Status: Alpha
Brought to you by:
bgdarnel
|
From: <da...@us...> - 2003-01-17 03:59:20
|
Update of /cvsroot/thoughtstream/thoughtstream/thoughtstream/wx
In directory sc8-pr-cvs1:/tmp/cvs-serv21247/thoughtstream/wx
Modified Files:
frame.py
Log Message:
Updated to support Python 2 xml apis.
Fixed _make_menu to pass the ASCII code instead of character
Now thoughtstream starts up under Python 2.2 and the latest wxPython
Index: frame.py
===================================================================
RCS file: /cvsroot/thoughtstream/thoughtstream/thoughtstream/wx/frame.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** frame.py 6 Apr 2000 00:13:38 -0000 1.9
--- frame.py 17 Jan 2003 03:59:17 -0000 1.10
***************
*** 61,66 ****
#if thoughtstream.default_mind:
# thoughtstream.default_mind.close()
! mind=thoughtstream.Mind(os.path.join(thoughtstream.basedir(),
! 'default.mind'), 1)
self.view.set_idea(mind.default_idea())
--- 61,65 ----
#if thoughtstream.default_mind:
# thoughtstream.default_mind.close()
! mind=thoughtstream.Mind(os.path.join(thoughtstream.basedir(),'default.mind'))
self.view.set_idea(mind.default_idea())
***************
*** 197,201 ****
if accel is not None:
mod, key=accel
! self.accelerators.append((mod,key,id))
return menu
--- 196,201 ----
if accel is not None:
mod, key=accel
! key_code=ord(key)
! self.accelerators.append((mod,key_code,id))
return menu
|