Opened 13 years ago

Last modified 13 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)

edit_app.py (8.0 KB) - added by walter 13 years ago.
a version of Edit that supports old-style and new-style toolbars

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by walter

a version of Edit that supports old-style and new-style toolbars

comment:1 Changed 13 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:3 Changed 13 years ago by RafaelOrtiz

Merge request ack, will be in next release by natetheis

Note: See TracTickets for help on using tickets.