Opened 12 years ago
Last modified 12 years ago
#2746 new defect
Edit needs new toolbars
Reported by: | RafaelOrtiz | Owned by: | garycmartin |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | ActivityTeam | Version: | Unspecified |
Severity: | Unspecified | Keywords: | |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Unconfirmed |
Description
edit need compatibility for new toolbars [From the NZ testing team]:
/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Traceback (most recent call last):
File "/usr/bin/sugar-activity", line 21, in <module>
main.main()
File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 112, in main
module = import(module_name)
File "/home/olpc/Activities/Edit.activity/edit_app.py", line 6, in <module>
from groupthink import sugar_tools, gtk_tools
File "/home/olpc/Activities/Edit.activity/groupthink/sugar_tools.py", line 21, in <module>
from sugar.graphics.toolbarbox import ToolbarBox
ImportError: No module named toolbarbox
Attachments (1)
Change History (4)
Changed 12 years ago by walter
comment:1 Changed 12 years ago by walter
I made a version of Edit that supports both style toolbars on the way to Mexico this week... haven't had time to generate a patch and merge request, but try swapping in the attached file and see if it does the trick. --walter
comment:2 Changed 12 years ago by RafaelOrtiz
changed the file and works. applied to my personal clone as
merge request
http://git.sugarlabs.org/edit-activity/edit-activity/merge_requests/1
comment:3 Changed 12 years ago by RafaelOrtiz
Merge request ack, will be in next release by natetheis
a version of Edit that supports old-style and new-style toolbars