#8512 NORM 9.1.0: Need get_icon_data() and get_update_url() methods on ActivityBundle
Zarro Boogs per Child
bugtracker at laptop.org
Tue Sep 16 14:35:27 EDT 2008
#8512: Need get_icon_data() and get_update_url() methods on ActivityBundle
--------------------+-------------------------------------------------------
Reporter: cscott | Owner: marco
Type: defect | Status: new
Priority: normal | Milestone: 9.1.0
Component: sugar | Version: Development build as of this date
Keywords: | Next_action: never set
Verified: 0 | Blockedby:
Blocking: |
--------------------+-------------------------------------------------------
The get_icon() method of ActivityBundle is problematic because it
sometimes creates a bogus temporary file, depending on whether or not the
ActivityBundle is zipped or not. A get_icon_data() method would fix this
interface problem.
The activity updater needs to access the update_url field in
activity.info; a get_update_url(self, default=None) method should be added
to do this; it should return the 'default' parameter if no update_url is
provided.
I'll attach a patch when I get time later. There are some ContentBundle
method fixes I'm working on which I'll fold into this bug as well. 9.1
time frame; working around this for 8.2.
--
Ticket URL: <http://dev.laptop.org/ticket/8512>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list